fteam/topic

v1.0.4 2019-11-06 23:29 UTC

This package is auto-updated.

Last update: 2024-04-16 10:56:36 UTC


README

use with foostart/package-acl

#Step 1: Now open the file config/app.php and add to the 'providers' option the following line:

Foostart\Acl\Authentication\AuthenticationServiceProvider::class,

Fteam\Topic\TopicServiceProvider::class,

#Step 2: Now open the file app/Http/Kernel.php and add the following lines to your $routeMiddleware array:

'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,

#Step 3: php artisan authentication:install