baberuka/systemroles
Composer 安装命令:
composer require baberuka/systemroles
包简介
SystemRoles is a Laravel Role Management 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 contr
README 文档
README
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.
统计信息
- 总下载量: 13
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-06-06