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

latz's avatar
Level 3

Laravel 5.2 Roles

Hello, i have problems with Laravel 5.2 and roles. Yes, there a a lot of questions and answers about this issue. I' am trying to understand the lession (https://laracasts.com/series/whats-new-in-laravel-5-1/episodes/16). But i can't parse that.

I need a simple Login with different Roles. (e.g. admin, editor and publisher). Does anyone know of a step by step tutorial? I tried to use entrust. But there are a lots of errors with 5.2.

Can anyone help me? regards ml

0 likes
3 replies
davorminchorov's avatar

Users And Roles might help you understand the idea even better, but the video is from the Laravel 4 days. Filters are now called Middleware.

1 like
latz's avatar
Level 3

Thanks. 5.2 seems to be very different. I'm still searching for a step by step tutorial with roles/permission. Perhaps someone has a code snippet.

I have a new lara project. In the first step i create the authentication module. (make:auth). Next databases should be created. (Tables for permissions and roles). What would be the next steps?

1 like

Please or to participate in this conversation.