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

Randy_Johnson's avatar

Multi Auth or Roles and Permissions

When creating a login system which is the best route to take.

0 likes
3 replies
jlrdw's avatar

Use that package or use the built-in, but do it like this.

Use Authentication for login meaning a login is required for certain things.

Use authorization to determine what the logged in user can or cannot do.

But this same question has been covered quite often.

Were you aware that in the from scratch free video series he has several free videos on authorization, and it's usage.

Also Authentication and authorization is very well-documented.

1 like

Please or to participate in this conversation.