I have added a role_id field to users table and a new Roles table with id,name + any other fields for capabilities..
After authentication you could just render an admin view where the role_id is the admins id...
In the routes file just delete or comment out the auth routes.
/*
Route::controllers([
'auth' => 'Auth\AuthController',
'password' => 'Auth\PasswordController',
]);
*/
I guess you could through the trouble of even removing more.
How can I create controllers in an admin directory?
e.g. app/Http/Controllers/Admin/WelcomeController.php
I want to access the admin panel at /admin and be separate from the front end, or is there a better way?
i'm in the same case.
In L4 I used Sentry but now you must pay for use it.
I'm studying how to do it too.
Try this one http://adminarchitect.com. Developed by developers for developers.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community