Orchestra\Auth extends the functionality of Illuminate\Auth with the extra functionality to retrieve users' role. This is important when we want to use Orchestra\Acl to manage application Access Control List (ACL).
To install through composer, simply put the following in your composer.json
file:
{
"require": {
"orchestra/auth": "2.0.*"
}
}
Next replace Illuminate\Auth\AuthServiceProvider
with the following service provider in app/config/app.php
.
'providers' => array(
// ...
'Orchestra\Auth\AuthServiceProvider',
'Orchestra\Memory\MemoryServiceProvider',
),