wahid09/laravel-quick-admin
最新稳定版本:v1.0.1
Composer 安装命令:
composer create-project wahid09/laravel-quick-admin
包简介
Laravel QuickAdmin is a web-based starter kit to help to start a large application without thinking about authentication, authorization, and role-based permission.
关键字:
README 文档
README
QuickAdmin is a web-based starter kit to help to start a large application without thinking about authentication, authorization, and role-based permission.
- The codebase is structured by a Repository pattern.
- Laravel Ui is used for authentication.
QuickAdmin is accessible, powerful, and provides tools required for large, robust applications.
Prerequisite
- PHP >= 8.1
Getting Started
- First clone the project and change the directory
git clone https://github.com/wahid09/QuickAdmin.git
cd QuickAdmin
- Install Dependencies
- install composer
composer install
- Copy
.env.exampleto.env
cp .env.example .env
- Generate application key
php artisan key:generate
- Databse migrations
php artisan migrate:refresh --seed
- Start the webserver
php artisan serve
Super Admin Login
- Email: admin@admin.com
- Password: password
Role and Permission:
The QuickAdmin provides dynamic ACL in a single action of every user. To achieve this functionality use the below code in your controller method.
Gate::authorize('permission slug');
e.g
public function store(ModuleRequest $request){ Gate::authorize('module-create'); //code }
Blade directive for sidebar menu control.
@permission('permission slug')
//code
@endpermission
User log activity control:
To track the record of user activity using the below code in every action method in your controller.
\LogActivity::addToLog('user action');
License
The QuickAdmin is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-27