Skip to content

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.

Notifications You must be signed in to change notification settings

sreejithbs/Laravel-Multiple-Authentication-Native

Repository files navigation

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 : [email protected]  | password
  Admin : [email protected]  | 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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published