islamrumon/laravel-acl
Laravel ACL provides database-backed roles, groups, and permissions for Laravel 5.8+. Note: unmaintained since Jan 2024; consider spatie/laravel-permission instead.
You can install this package using composer:
composer require mateusjunges/laravel-acl
You should publish the migration and the config file using
php artisan vendor:publish --provider="Junges\ACL\Providers\ACLServiceProvider"
Now, run the migrations using
php artisan migrate
Add the necessary traits to your model, and you are ready to go!
How can I help you explore Laravel packages today?