Support the ongoing development of Laravel.io →
Authentication Session Database
Last updated 2 years ago.
0

I would recommend using a single user table, the default setup if you can, and then authenticate in middleware based on user roles.

I've used this package to manage roles and permissions with my apps and it is perfect for this setup https://github.com/Zizaco/entrust.

0

thank you :)

0

Sign in to participate in this thread!

Eventy

Your banner here too?

kasam01 kasam01 Joined 10 May 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.