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

krishna9720's avatar

Laravel - How to create multiple user roles and assign privilege to them?

Hi everyone,

I have to create an application in which there are 5 types of accounts

-- Super admin -- Inventory admin -- Shop owner -- Shop manager -- User

So How can I create these multiple accounts with laravel, should I use different middleware group for each. also, i have to create privileges with all.

Currently, I am using it with different middleware and session for each and separate tables in DB for each, but I don't think so that's a good way to do it.

What is the way to create these multiple accounts with laravel.

@Thanks

0 likes
1 reply

Please or to participate in this conversation.