A Laravel package to manage user roles.
composer require baberuka/systemrolesIf you're not using Laravel auto-discovery, register the provider manually in config/app.php. Add the SystemRolesServiceProvider calls to the providers section.
'providers' => [
BabeRuka\SystemRoles\SystemRolesServiceProvider::class,
],
php artisan vendor:publish --tag=systemroles-config
php artisan vendor:publish --tag=systemroles-views
php artisan vendor:publish --tag=systemroles-assets
php artisan systemroles:migrate
php artisan migrate
php artisan db:seed --class="Database\Seeders\SystemRolesSeeder"
Visit /systemroles/admin/roles/index to check if it's working.
Visit https://www.systemroles.com/ for more detailed documentation.