vhinx / acl
此包的最新版本(dev-master)没有可用的许可证信息。
dev-master
2014-11-18 01:17 UTC
Requires
- php: >=5.4.0
- illuminate/support: 4.2.*
This package is not auto-updated.
Last update: 2024-09-24 02:11:40 UTC
README
laravel 4 的简单 Acl
内容
- 默认登录
- (CRUD) 对用户进行维护 2.1. 为每个用户分配多个组
- (CRUD) 对组进行维护 3.1. 为组分配资源(操作列表)
- (CRUD) 对资源(操作列表)进行维护
- 登出
安装
将以下行添加到 composer.json
文件的 require
部分
{ "require": { "vhinx/acl": "dev-master" } }
设置
- 将
app/config/app.php
文件中服务提供者列表中的Vhinx\Acl\AclServiceProvider
添加进去。 - 将
app/config/auth.php
文件中模型的值更改为Vhinx\\Acl\\Models\\User
- 运行
php artisan migrate --package=Vhinx/Acl
- 运行
php artisan db:seed --classname=DataSeeder
- 运行
php artisan asset:publish --package=Vhinx/Acl