create laravel multi-auth guard setup files, middleware, models, migrations etc
- In your terminal via composer:
composer require imokhles/multi-auth-command
- Add this provider to your config/app.php ( no need for Laravel 5.5 and above ) :
iMokhles\MultiAuthCommand\MultiAuthCommandServiceProvider::class
- copy theme files to
PROJECT_DIR/public/start_ui/*css,js,img,fonts
- FREE AdminLTE 2
- FREE Tabler
- PAID StartUI
- PAID HighAdmin
- PAID OneUI
- more comes later ( and you are welcome to send me a pull request for more themes )
.
├── Views ( folder )
│ └── THEME_NAME ( folder )
│ ├── auth ( folder )
│ │ ├── account ( folder )
│ │ │ ├── account_info_tab.blade.stub
│ │ │ ├── change_password_tab.blade.stub
│ │ │ ├── left_box.blade.stub
│ │ │ ├── right_box.blade.stub
│ │ │ └── update_info.blade.stub
│ │ ├── passwords ( folder )
│ │ │ ├── email.blade.stub
│ │ │ └── reset.blade.stub
│ │ ├── login.blade.stub
│ │ ├── register.blade.stub
│ │ └── verify.blade.stub
│ ├── layouts ( folder )
│ │ ├── inc ( folder )
│ │ │ ├── alerts.blade.stub
│ │ │ ├── breadcrumb.blade.stub
│ │ │ ├── head.blade.stub
│ │ │ └── scripts.blade.stub
│ │ ├── main_header ( folder )
│ │ │ ├── languages.blade.stub
│ │ │ ├── main_header.blade.stub
│ │ │ ├── notifications.blade.stub
│ │ │ └── user.blade.stub
│ │ ├── sidemenu ( folder )
│ │ │ ├── items.blade.stub
│ │ │ └── list.blade.stub
│ │ ├── layout.blade.stub
│ │ └── layout_guest.blade.stub
│ └── dashboard.blade.stub
└── ...
Example usage:
php artisan make:multi_auth Admin --admin_theme="startui"
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.