lostgdi/admin-account
Composer 安装命令:
composer require lostgdi/admin-account
包简介
A base administration system
README 文档
README
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.
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
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
统计信息
- 总下载量: 26
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2016-02-13