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

packy's avatar
Level 7

Do you need a Roles package?

I have always wondered this. In the last 5 apps I have done there are really only 2 roles: admin and subscriber. There are never any permissions since most of what you can do as a subscriber is determined by Cashier (your subscription). In this scenario, does it make sense to just add a role column to the users table? Seems like it would be better not to add in more relationships and packages if you dont need to.

0 likes
2 replies
Griehle's avatar
Griehle
Best Answer
Level 8

When has less code ever been a bad plan?

packy's avatar
Level 7

Thats my thought. Just wasnt sure if there was some special magic in the packages.

1 like

Please or to participate in this conversation.