fteam / topic
演示包
v1.0.4
2019-11-06 23:29 UTC
Requires
Requires (Dev)
README
与 foostart/package-acl 一起使用
第 1 步:现在打开文件 config/app.php 并将以下行添加到 'providers' 选项中
Foostart\Acl\Authentication\AuthenticationServiceProvider::class,
Fteam\Topic\TopicServiceProvider::class,
第 2 步:现在打开文件 app/Http/Kernel.php 并将以下行添加到您的 $routeMiddleware 数组中
'admin_logged' => \Foostart\Acl\Http\Middleware\AdminLogged::class,
'logged' => \Foostart\Acl\Http\Middleware\Logged::class,
'can_see' => \Foostart\Acl\Http\Middleware\CanSee::class,
'has_perm' => \Foostart\Acl\Http\Middleware\HasPerm::class,
'in_context' => \Foostart\Category\Middleware\InContext::class,
第 3 步:php artisan authentication:install