I am trying to create a laravel application with version 5.2. Where there will be 3 types of users
- Administrator (website manager) - using default "
users" table for this. - Owners (Website listing creator from frontend) - using a
table "
owners" for this. - Customer (Visitors or registered
visitors) - using a table "
customers" for this.
Now my problem is:
i want to make sure login Owners will get proper authentication and redirect to their own (other then default Auth route) route.
And same with customer, and they will be mainly login through frontend of the website, so their route will be different from owners and Administrator. And these customer will also get authentication.
How can i manage that? I have worked around with single table, but being as a new person to Laravel i am not sure how i can achieve with multiple table.
I have checked laravel 5.2 started supporting multiple gaurds now, but not sure how can i do this.
There are certain packages for this, but i dont want to relay on package for this.
Thank you!