I would say the spatie/laravel-permission one probably is the most popular. Based off of stars, it has about double what bouncer has. Personally I like the Bouncer package better just because I prefer the way the code flows in that a little better then spatie's. Both are solid ones though and I don't think you could go wrong either way. Both are actively being developed. Not sure either will ever become a defacto one since not everybody needs a permission system.
What is the most popular/supported package for roles and permissions?
Hello guys, I noticed that there are some popular packages that became "de facto standard" for specific tasks. Some examples:
- When working with images, first choice is often intervention/image
- When working with fake data, nothing can beat fzaninotto/faker
- If I say "debug tool" are you thinking mostly to barrydvh/laravel-debugbar, right? And the list can grows
When dealing with roles and permissions, however, it seems like a jungle. First there were the old-but-gold cartalyst/sentinel and zizaco/entrust, dealing also with user authentication, but then Laravel added its own authentication stuff, plus Gates and Policies and lots of new (and maybe less cluttered) additional roles/permissions managing packages were born
Just to name a few I just found doing a search on the forum: santigarcor/laratrust, JosephSilber/bouncer, spatie/laravel-permission, and I'm sure that they are not alone.
A jungle, as I said before.
So, the question is: what is (or is going to be) a standard among these (or others)? The most popular/used/supported? The one you can surely rely on because it's very "active", wide-used and there are lot of help and examples and a big community?
Thanks in advance for your answers :-)
Please or to participate in this conversation.