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

DDSameera's avatar

Asking recommendation for Setup User Roles Permission Activites in laravel 8

I want to apply user roles permission based activities in laravel. what is the best method to do that ? what is best practice for that ? please explain it.

0 likes
3 replies
clarg18's avatar

Yeah, use the Spatie package, otherwise you could do a many-to-many relationship between a User model and a Roles model. Then set up Laravel policies / gates to control access based on roles.

DDSameera's avatar

Hey Guys ! what about jetstream ? teams . have you heard about that ?

Please or to participate in this conversation.