https://github.com/boolfalse/laravel-multiauth
Boilerplate for your Laravel [5.6, 5.7, 5.8] Multiauth app
https://github.com/boolfalse/laravel-multiauth
Last synced: 9 months ago
JSON representation
Boilerplate for your Laravel [5.6, 5.7, 5.8] Multiauth app
- Host: GitHub
- URL: https://github.com/boolfalse/laravel-multiauth
- Owner: boolfalse
- Created: 2019-06-30T20:11:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-01T15:57:36.000Z (almost 3 years ago)
- Last Synced: 2023-03-05T21:40:29.417Z (almost 3 years ago)
- Language: PHP
- Size: 7.84 MB
- Stars: 13
- Watchers: 1
- Forks: 5
- Open Issues: 20
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## About:
This is a demo for Multi Auth boilerplate Laravel app (versions 5.6, 5.7, 5.8).
## Features:
- User & Admin clients with their home/dashboard pages.
- Admins can have different roles (used [Spatie's permission package](https://github.com/spatie/laravel-permission)).
- AdminLTE customized template for Admin Panel.
- Manageable Admin URI-segment path.
## Demo Test:
```shell
$ git clone https://github.com/boolfalse/laravel-multiauth.git
$ cd laravel-multiauth/
```
Setup a DB and .env
```shell
DEV_NAME="Test"
DEV_EMAIL="test@gmail.com"
DEV_PASSWORD="secret"
ADMIN_PREFIX="admin"
```
In the root of you project run:
```shell
$ composer install
$ php artisan key:generate
$ php artisan storage:link
$ php artisan clearcaches
$ php artisan cleanuploads
$ php artisan droptables
$ php artisan migrate
$ php artisan db:seed
```
Now you can check Multi Auth system:
* for Users: '/login', '/register'
* for Admins: '/login'