A File Authentication Driver for Laravel.
As usual, install this package through Composer.
"require": {
"lucor/laravel-auth-file-driver": "0.9.*"
}
Add the service provider in app/config/app.php
in the providers
section:
'providers' => array(
...
'Lucor\Auth\AuthServiceProvider',
)
Change the default driver in app/config/auth.php
:
'driver' => 'file',
Execute the config publish command:
php artisan config:publish lucor/laravel-auth-file-driver
.
this will add the users configuration file in app/config/packages/lucor/auth/users.php
.
This package is released under the MIT License. See the LICENSE file for details.