ikepu-tp/laravel-admin
最新稳定版本:v1.1.0
Composer 安装命令:
composer require ikepu-tp/laravel-admin
包简介
This is a package for laravel admin. You can add a function to manage users as user to your laravel application.
README 文档
README
This is a library to add administrator functionality to Laravel Project.
Features
- Set administrators from users
- Show the list of users
How to use
1. Install from composer
composer require ikepu-tp/laravel-admin
2. Publish configure file
php artisan vendor:publish --tag=laravelAdmin-config
3. Migrate
php artisan migrate
4. Add UserTrait to User.php
class User extends Model { use \ikepu_tp\LaravelAdmin\app\Models\UserTrait;
5. Set administrator at the first time
insert into user_grants (user_id,grant) values (`your user_id`,0)
At the first time, you have to set administrator by SQL but you can set on http://localhost/admin/users after that.
Contributing
Thank you for your contributions. If you find bugs, let me know them with issues.
License
Copyright (c) 2023 ikepu-tp.
This is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-16