Skip to content

Latest commit

 

History

History
executable file
·
106 lines (82 loc) · 4.41 KB

README.md

File metadata and controls

executable file
·
106 lines (82 loc) · 4.41 KB

MultiAuthCommand

Latest Version on Packagist Scrutinizer Code Quality Build Status Total Downloads Software License

create laravel multi-auth guard setup files, middleware, models, migrations etc

Install

  1. In your terminal via composer:
composer require imokhles/multi-auth-command
  1. Add this provider to your config/app.php ( no need for Laravel 5.5 and above ) :
iMokhles\MultiAuthCommand\MultiAuthCommandServiceProvider::class
  1. copy theme files to
PROJECT_DIR/public/start_ui/*css,js,img,fonts

Available 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 [email protected] instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Beerpay Beerpay