Laravel 5.4 Multiple Authentication consists of ADMIN and USER separate authentication with separate login forms, can login to both ADMIN and USER account simultaneously, separate logout button. No package is used. Pure Laravel Native method.
- CLONE the package via the command line:
git clone https://github.com/sreejithbs/Laravel-Multiple-Authentication-Native.git
- Change into the working directory
cd Laravel-5.4-Multiple-Authentication-Native
-
Open Project in a Code Editor, rename
.env.example
to.env
and modify DB name, username, password to your environment. -
Install composer dependencies
composer install
- An application key can be generated with the command
php artisan key:generate
- Migrate the database along with seed
php artisan migrate --seed
- Run the artisan serve command
php artisan serve
Use these credential to login :
User : user@demo.com | password
Admin : admin@demo.com | password
This project is open-source and licensed under the MIT license
Made with ❤ in Laravel