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

mstnorris's avatar

They are, as I said:

@xtremer360 this will get you going. They're just examples...

You can call them what you like. I named them like that for the example to keep it clear.

jrdavidson's avatar

Oh okay so is it best to name them the same things as my route names?

mstnorris's avatar

On a side note, please mark one of my answers as correct as this question has got a little bloated and off topic from your original post.

We can carry on in a new thread about pivot tables if you like.

mstnorris's avatar

No, not at all, just name them as you like:

Roles: Super Admin, Admin, General User

Permissions: Can add users, Can edit users, Can delete users etc

And then pair them up as you wish.

Previous

Please or to participate in this conversation.