imokhles / multi-auth-command
create laravel multi-auth guard setup files, middleware, models, migrations etc
2.0.2
2020-04-13 13:15 UTC
Requires
- illuminate/console: ^7.0
- illuminate/database: ^7.0
- illuminate/support: ^7.0
- laravel/ui: ^2.0
- prologue/alerts: ^0.4.1
- symfony/process: ^5.0
This package is auto-updated.
Last update: 2024-10-29 05:15:50 UTC
README
create laravel multi-auth guard setup files, middleware, models, migrations etc
Install
- 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
Available themes
- 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 )
Theme folder structure
.
├── 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
└── ...
Usage
Example usage:
php artisan make:multi_auth Admin --admin_theme="startui"
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.