composer require "loopeer/quickcms:~2.0"
php artisan vendor:publish --force
//Illuminate\Auth\Passwords\PasswordResetServiceProvider::class,
//Illuminate\Auth\AuthServiceProvider::class,
Zizaco\Entrust\EntrustServiceProvider::class,
Kbwebs\MultiAuth\AuthServiceProvider::class,
Kbwebs\MultiAuth\PasswordResets\PasswordResetServiceProvider::class,
Loopeer\QuickCms\QuickCmsServiceProvider::class,
Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class,
Stevenyangecho\UEditor\UEditorServiceProvider::class,
Maatwebsite\Excel\ExcelServiceProvider::class,
'Entrust' => Zizaco\Entrust\EntrustFacade::class,
'Excel' => Maatwebsite\Excel\Facades\Excel::class,
'role' => 'Loopeer\QuickCms\Models\Backend\Role',
'permission' => 'Loopeer\QuickCms\Models\Backend\Permission',
//'driver' => 'eloquent',
//'model' => App\User::class,
//'table' => 'users',
'multi-auth' => [
'admin' => [
'driver' => 'eloquent',
'model' => Loopeer\QuickCms\Models\Backend\User::class,
],
'user' => [
'driver' => 'eloquent',
'model' => Loopeer\QuickCms\Models\Account::class
]
],
'auth.admin' => \Loopeer\QuickCms\Http\Middleware\AdminMiddleware::class,
'auth.login' => \Loopeer\QuickCms\Http\Middleware\AdminAuthenticate::class,
'auth.permission' => \Loopeer\QuickCms\Http\Middleware\PermissionMiddleware::class,
'api.validate' => \Loopeer\QuickCms\Http\Middleware\ApiValidate::class,
'app.log' => \Loopeer\QuickCms\Http\Middleware\AppLogMiddleware::class,
'api.login' => \Loopeer\QuickCms\Http\Middleware\ApiLogin::class,
'auth' => \Loopeer\QuickCms\Http\Middleware\Authenticate::class,
php artisan quickcms:install
php artisan quickcms:create_backend_user
php artisan quickcms:init_permission