Out of the box Laravel does not support multiple roles. You could build it yourself, or you could use a package like Sentinel.
camroncade is correct,
But, in the auth.php config file.
/*
|--------------------------------------------------------------------------
| Authentication Table
|--------------------------------------------------------------------------
|
| When using the "Database" authentication driver, we need to know which
| table should be used to retrieve your users. We have chosen a basic
| default value but you may easily change it to any table you like.
|
*/
'table' => 'users',
You can change the table.
I suggest that you look into middleware and routing groups. However, I still agree that using a package is probably easier for you.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community