Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

hamidali's avatar

Single vs multiple auth tables with ACL Laravel 5.4

I am developing campus management system for a university using laravel 5.4, I am a bit confused regarding ACL and user management as we have different user types e.g. applicants, students, teachers, management staff, administrators(for app management) each user type required different information e.g. department for teacher, office for staff, multiple department choices for applicant for getting admission...

I am also keeping audit trail e.g. data update for different tables how can I manage audit trail e.g. which user type has changed information... should I use user morph to option...?

I am thinking about using the following package for revision history

https://github.com/VentureCraft/revisionable

which will work for single auth table but I have to manage multiple auth tables so associating user will be an issue...

lastly, i am thinking about using zizaco/entrust for ACL which works well out of the box for single auth table/model but how can I manage ACL for multiple auth tables...

0 likes
4 replies
dgoetz's avatar

Did you ever get this figured out?

hamidali's avatar

this seems promising... I have deployed my project to production... I will give it a try next time @aardalich thanks anyway...

Please or to participate in this conversation.