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
To set up this project, first clone the repositiory
$ git clone https://github.com/fisayoafolayan/laravel-multiple-auth.gitChange your working directory into the project directory
$ cd laravel-multiple-authThen install dependencies using Composer
$ composer installCopy .env.example to .env
$ cp .env.example .envCreate the database file
$ touch database/database.sqliteRun the application with the following command
$ php artisan serveRemember 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.
Laravel - The PHP Framework For Web Artisans.
SQLite - A relational database management system.