library admin-account
A base administration system
lostgdi/admin-account
A base administration system
- Sunday, February 14, 2016
- by lostgdi
- Repository
- 0 Watchers
- 0 Stars
- 17 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
admin-account for laravel 5
Instruction
As we build our new project so often , We need a more convenient way to avoid these boring work for user managerment , such as: New , Modify , Delete. , (*1)
Installation
- Run composer require lostgdi/admin-account
- Add Lostgdi\Admin\App\Providers\AdminServiceProvider::class, to providers in config/app.php
- Add 'Admin' => Lostgdi\Admin\App\Facades\Admin::class, to aliases in config/app.php
- Add 'auth_admin_account' => \Lostgdi\Admin\App\Http\Middleware\AuthenticateAdminAccount::class, to routeMiddleware in app/http/kernel.php
- Add 'auth_admin_account_manager' => \Lostgdi\Admin\App\Http\Middleware\AuthenticateAdminAccountManager::class, to routeMiddleware in app/http/kernel.php
- Run php artisan vendor:publish
DataBase Setup
, (*2)
Note: You should handle your user table , depanding on your situation. Either drop user table then excute the migrate command or your way of dealing.
- Run php artisan migrate
- Run php artisan db:seed --class=DatabaseSeeder_user
Usage
- http://127.0.0.1:8000/auth
dev-master
9999999-dev
A base administration system
Sources
Download
by
lostgdi