Laravel Basix 5.3 is now updated, and has Multi-login, where you can login using two different tables, and add more if you need.
Check Laravel Basix 5.3 on GitHub, for more details.
How it works?
Thanks to this package “hesto/multi-auth“, it automates the required files and routes to add multiple logins.
Note: Laravel Basix 5.3 already has “admin” table and login configured.
To create a new login for “employee” simply run the command:
php artisan multi-auth:install employee -f
It automatically creates
- Routes and Route file ‘routes/employee.php’, where you can put all the employee related files.
Simply run ‘php artisan migrate’ to create the table.
The login and register links are <your project>/employee/login, <>/employee/register respectively.
Drop a question in the comment if you need any help.