imokhles/multi-backpack
Composer 安装命令:
composer require imokhles/multi-backpack
包简介
create laravel multi-auth files, middleware, models, migrations etc with backpack
README 文档
README
create multi authentication guards with backpack panel
Before Install
- install Backpack CRUD/Base by following this Doc Backpack-Installation
- go to
config/backpack/base.phpand apply the following changes
route_prefix => '' ( emove it's value should be empty )setup_auth_routes => true ( make it false)setup_dashboard_routes => true ( make it false)setup_my_account_routes => true ( make it false )user_model_fqn => '' ( remove it's value should be empty )middleware_class => '' ( remove it's value should be empty )
Install
- In your terminal via composer:
composer require imokhles/multi-backpack
- Add this provider to your config/app.php ( no need for Laravel 5.5 and above ) :
iMokhles\MultiAuthBackPack\MultiAuthBackPackServiceProvider::class
Usage
Example usage:
php artisan make:multi-backpack Admin --admin_theme="adminox" or --admin_theme="adminlte"
then
- go to
config/backpack/base.php - update
user_model_fqn => Admin::class
Security
If you discover any security related issues, please email imokhles@imokhles.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 46
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-10-09