Hi toneee,
There are actually a few different ways of managing user types (aka groups). My application uses Sentry, but other people prefer Confide. I'm sure there are others, just look around Packagist.
But basically the concept is a user belongs to groups. Groups are the types of accounts that you want your application to respond to differently. Take a look at Sentry's documentation to get a better feel.
Hello, I highly recommend the Entrust package,here is the link:
http://packalyst.com/packages/package/zizaco/entrust
it will simplify the procedure enormously and it has a really good documentation, I'm currently using it to create usergroup's roles with success.If you want to check if a user has permissions to access a page I encourage you to read about route filters in the documentation,here is the link:
http://laravel.com/docs/4.2/routing#route-filters
Entrust goes very well with Confide the package B1nTree mentioned, a really good package for authentication. You should use Entrust for authorazation.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community