sreejithbs / Laravel-Multiple-Authentication-Native

Laravel Multiple Authentication consists of ADMIN and USER separate authentication with separate login forms, can login to both ADMIN and USER account simultaneously, seperate logout button.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Laravel 5.4 Multiple Authentication (Admins + Users)

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.

Installation

  1. CLONE the package via the command line:
  git clone https://github.com/sreejithbs/Laravel-Multiple-Authentication-Native.git
  1. Change into the working directory
  cd Laravel-5.4-Multiple-Authentication-Native
  1. Open Project in a Code Editor, rename .env.example to .env and modify DB name, username, password to your environment.

  2. Install composer dependencies

  composer install
  1. An application key can be generated with the command
  php artisan key:generate
  1. Migrate the database along with seed
  php artisan migrate --seed
  1. Run the artisan serve command
  php artisan serve

Use these credential to login :

  User : user@demo.com  | password
  Admin : admin@demo.com  | password

Screenshots

image


image


image

License

This project is open-source and licensed under the MIT license

Made with ❤ in Laravel

About

Laravel Multiple Authentication consists of ADMIN and USER separate authentication with separate login forms, can login to both ADMIN and USER account simultaneously, seperate logout button.


Languages

Language:PHP 74.8%Language:HTML 24.7%Language:Vue 0.5%