santigarcor/laratrust
Laratrust adds role and permission management to Laravel with support for multiple user models, teams, guards, caching, events, middleware, gates/policies, and an optional admin panel for managing roles and permissions.
::: tip NOTE The teams feature is optional, this part covers how to configure it after the installation.
If you had your teams.enabled value set to true during the installation and automatic setup, you can skip this part.
:::
Set the teams.enabled value to true in your config/laratrust.php file.
Run:
php artisan laratrust:setup-teams
php artisan migrate
Now you can use the teams feature in you code.
Please refer to the teams concepts concepts to learn how to use them.
How can I help you explore Laravel packages today?