Skip to content

A simple implementation of multiple authentication in Laravel. To follow along, this application has been documented as an article on Pusher blog.

Notifications You must be signed in to change notification settings

fisayoafolayan/laravel-multiple-auth

Repository files navigation

Laravel Multiple Authentication

A simple implementation of multiple authentication in Laravel.

To follow along, this application has been documented as an article on Pusher blog. You can read about it here

Set up

To set up this project, first clone the repositiory

$ git clone https://github.com/fisayoafolayan/laravel-multiple-auth.git

Change your working directory into the project directory

$ cd laravel-multiple-auth

Then install dependencies using Composer

$ composer install

Copy .env.example to .env

$ cp .env.example .env

Create the database file

$ touch database/database.sqlite

Run

Run the application with the following command

$ php artisan serve

Remember to visit http://localhost:8000/register/writer and http://localhost:8000/register/admin to register writers and admins respectively. Then visit http://localhost:8000/login/writer and http://localhost:8000/login/admin to login the writers and admins respectively.

Built With

Laravel - The PHP Framework For Web Artisans.

SQLite - A relational database management system.

About

A simple implementation of multiple authentication in Laravel. To follow along, this application has been documented as an article on Pusher blog.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published