Skip to content

SystemRoles is a Laravel Role Management is a powerful package designed to simplify user role and permission management within Laravel applications. It provides a structured approach for defining roles, assigning rights to each role (e.g., edit, delete, approve), linking roles to users, and mapping roles to controllers for precise access control.

License

Notifications You must be signed in to change notification settings

BabeRuka/systemroles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SystemRoles

A Laravel package to manage user roles.

Installation

composer require baberuka/systemroles

Register the Service Provider (if not auto-discovered)

If 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,
    ],

Publishing

php artisan vendor:publish --tag=systemroles-config
php artisan vendor:publish --tag=systemroles-views
php artisan vendor:publish --tag=systemroles-assets

Run the Migrations

php artisan systemroles:migrate
php artisan migrate
php artisan db:seed --class="Database\Seeders\SystemRolesSeeder"

Usage

Visit /systemroles/admin/roles/index to check if it's working.

Documentation

Visit https://www.systemroles.com/ for more detailed documentation.

About

SystemRoles is a Laravel Role Management is a powerful package designed to simplify user role and permission management within Laravel applications. It provides a structured approach for defining roles, assigning rights to each role (e.g., edit, delete, approve), linking roles to users, and mapping roles to controllers for precise access control.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published