carloscgo/shinobi
Composer 安装命令:
composer require carloscgo/shinobi
包简介
Laravel 5 Roles and Permissions
README 文档
README
Shinobi brings a simple and light-weight role-based permissions system to Laravel's built in Auth system. Shinobi brings support for the following ACL structure:
- Every user can have zero or more roles.
- Every role can have zero or more permissions.
Permissions are then inherited to the user through the user's assigned roles.
The package follows the FIG standards PSR-1, PSR-2, and PSR-4 to ensure a high level of interoperability between shared PHP code. At the moment the package is not unit tested, but is planned to be covered later down the road.
Documentation
You will find user friendly documentation in the wiki here: CarlosCGO Shinobi Wiki
Quick Installation
Begin by installing the package through Composer. The best way to do this is through your terminal via Composer itself:
composer require carloscgo/shinobi
Once this operation is complete, simply add the service provider to your project's config/app.php file and run the provided migrations against your database.
Service Provider
CarlosCGO\Shinobi\ShinobiServiceProvider::class
Migrations
You'll need to run the provided migrations against your database. Publish the migration files using the vendor:publish Artisan command and run migrate:
php artisan vendor:publish
php artisan migrate
Awesome Shinobi
See what the awesome community behind Shinobi has built. Created something you'd like added? Send a pull-request or open an issue!
Open Source
- The Watchtower - A front-end (GUI) package.
统计信息
- 总下载量: 41
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-05-15