dev-master
9999999-dev https://github.com/hazicms/authBasic authentication with CRUD for users,roles and permissions.
GPL-3.0
The Requires
- php >=5.4.0
- bican/roles 1.6.*
laravel auth crud cms
Wallogit.com
2017 © Pedro PelĆ”ez
Basic authentication with CRUD for users,roles and permissions.
Add this package to your composer.json:, (*1)
"require": {
"hazicms/auth": "dev-master"
}
Run composer update, (*2)
composer update
Add the ServiceProviders to the providers array in config/app.php.
, (*3)
'HaziCms\Auth\AuthServiceProvider'
Publish config files for generators, modules and images:, (*4)
php artisan vendor:publish --provider="HaziCms\Generator\Generator\GeneratorServiceProvider"
Add those lines to app\Http\Kernel.php file:, (*5)
protected $routeMiddleware = [
'hazicms.basic' => 'HaziCms\Http\Middleware\AuthBasicMiddleware',
];
Add middleware to controller's __construct() method:, (*6)
$this->middleware('hazicms.basic');
You are ready! :-), (*7)
This module is created by Aitor IbaƱez., (*8)
Bugs & Forks are welcomed :), (*9)
Basic authentication with CRUD for users,roles and permissions.
GPL-3.0
laravel auth crud cms