inimedia / user-administration
Laravel package for common user administration
dev-master
2016-11-25 13:00 UTC
Requires
- php: >=5.6.4
- laravel/framework: 5.3.*
- zizaco/entrust: 5.2.x-dev
This package is not auto-updated.
Last update: 2024-11-09 20:50:54 UTC
README
Laravel package for common user administration
Installation Steps:
- php artisan make:auth (laravel default)
- install zizaco\entrust
- install inimedia/user-administration
- add UserAdministrationServiceProvider in config/app.php
- uncomment fillable in \App\User
- change Role and Permission class in entrust.php (from zizaco\entrust)
- migrate
- add UserAdministrationSeeder in DatabaseSeeder
- db:seed
recommended routes - without registration:
//Auth::routes(); Route::get('/login', 'Auth\LoginController@showLoginForm'); Route::post('/login', 'Auth\LoginController@login'); Route::post('/logout', 'Auth\LoginController@logout');