Skip to content

A simple application all about managing multiple roles in laravel by using multiple middleware for multiple roles

Notifications You must be signed in to change notification settings

jerinmonish/Laravel-Multiple-Roles-authentication-authorization

Repository files navigation

Build Status Total Downloads Latest Stable Version License

Laravel Multiple Roles Authentication and Authorization

This application is all about Roles with authorization, Where a each role can access, their own data, if something comes in common we can manage by using only or other conditions in constructor, or something like dependency injection or also routing. So coming to this project, Here i have create three roles like

  • Admin
  • Teacher
  • Student

Where admin can view all the registered users, Teacher can view only Students and in terms of student he can view only teacher. So, this project demo is just to show how a middleware is created and maintained with routes grouped based on middleware.

If any question you are sure to ask me.

Thanks

Here you can just clone this application and use it where its very easy to customize.

About

A simple application all about managing multiple roles in laravel by using multiple middleware for multiple roles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published