Our great sponsors
-
In this article, we'll be using the Laravel Permission package from Spatie.
-
As well as using Spatie's Laravel Permission package, there are other packages that can be used to add roles and permissions to your application. For example, you could use Bouncer or Laratrust.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
As well as using Spatie's Laravel Permission package, there are other packages that can be used to add roles and permissions to your application. For example, you could use Bouncer or Laratrust.
-
In this article, we'll be using the Laravel Permission package from Spatie.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.
Related posts
- 8 Essential Questions to Ask Before Using a Laravel Package
- Using PHP 8.1's Enums to add a level structure to users, and using Policies to authorize actions based on those user levels
- User permissions with Laravel Passport
- How can I add simple Roles to Laravel Breeze
- How do you handle different policies on one resource depending on the controller called?