loopeer / quickcms
Installs: 1 025
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 5
Forks: 4
Open Issues: 0
Language:HTML
Requires
- php: >=5.5.9
- kbwebs/multiauth: ~1.0
- loopeer/lib: dev-master
- loopeer/loopeer-log-viewer: dev-master
- maatwebsite/excel: ~2.1.0
- qiniu/qiniu: dev-master
- stevenyangecho/laravel-u-editor: ~1.3
- zizaco/entrust: dev-laravel-5
- dev-master
- 3.2.1
- 3.2
- 3.1.1
- 3.1
- 3.0
- 2.8.5
- 2.8.4
- 2.8.3
- 2.8.2
- 2.8.1
- 2.8.0
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.4
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.9
- 2.5.8
- 2.5.7
- 2.5.6
- 2.5.5
- 2.5.4
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.9
- 2.4.8
- 2.4.7
- 2.4.6
- 2.4.5
- 2.4.4
- 2.4.3
- 2.4.2
- 2.4.1
- 2.4.0
- 2.3.9
- 2.3.8
- 2.3.7
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.9
- 2.2.8
- 2.2.7
- 2.2.6
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
- 2.1.9
- 2.1.8
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.10
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0
- v1.9
- v1.8
- v1.7
- v1.6
- v1.5
- v1.4
- v1.3.1
- v1.3
- v1.2
- v1.1
- v1.0
This package is not auto-updated.
Last update: 2024-12-12 07:02:39 UTC
README
Installation
composer require "loopeer/quickcms:~2.0"
Usage
php artisan vendor:publish --force
update config/app.php
//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,
update config/entrust.php
'role' => 'Loopeer\QuickCms\Models\Backend\Role',
'permission' => 'Loopeer\QuickCms\Models\Backend\Permission',
update config/auth.php
//'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
]
],
update app/Http/Kernel.php
'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,
Document
Artisan
php artisan quickcms:install
php artisan quickcms:create_backend_user
php artisan quickcms:init_permission