Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ThinkingMan's avatar

Traditional Users & Roles in Spark (Not Team Billing)

I am wondering if anyone has added traditional Users & Roles constructs to Spark and if so, did you use any packages like those mentioned here https://laravel-news.com/two-best-roles-permissions-packages.

I have a Spark Project that is coming together nicely and foresee the need to have users with lower permissions underneath the main registered user (i.e. the user that would be created from the main Spark Auth). I have built users and roles on straight Laravel builds but not Spark so looking for a best practice approach and suggestion to avoid any pitfalls. At this stage and based on my current requirements, I think building my own will be easiest.

Thanks in advance!

0 likes
4 replies
midnightcipher's avatar
Level 6

You could use Laravel permissions package from Spatie. I’ve done it once before and it’s perfect.

Cronix's avatar

If you're using Spark, you should have this resource bookmarked, which is a curated list of Spark related things on the net: https://github.com/jpmurray/awesome-spark

Yes, it has a Roles/Permissions package mentioned for Spark. Feel free to submit pull requests for updating links you may be aware of that aren't there, or remove/update stale links, etc.

1 like
ThinkingMan's avatar

@ashbakernz and @cronix one follow-up on this one. The reason I was going down this path is because I don't know if team billing is really what I need. So that is still a bit of a question in my mind. Essentially I want to have someone sign up for an account (call them the Owner) and then add users (call them the Employee) which can access that account but are not account owners which can access things like billing. Team Billing didnt really seem to fit this model exactly but can it be adapted to fit?

Please or to participate in this conversation.