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.
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 1
Open Issues: 0
Type:project
Requires
- php: 8.1.4
- appslabke/lara-izitoast: ^1.1
- browner12/helpers: ^3.4
- cswni/laravel-env-set-command: ^1.4
- fruitcake/laravel-cors: ^2.0
- guzzlehttp/guzzle: ^7.2
- haruncpi/laravel-log-reader: ^1.0
- intervention/image: ^2.7
- laravel/framework: ^9.19
- laravel/socialite: ^5.5
- laravel/tinker: ^2.7
- laravel/ui: 3.4.5
- realrashid/sweet-alert: ^5.1.0
- scyllaly/hcaptcha: ^4.4
- spatie/laravel-backup: ^8.1
- spatie/laravel-medialibrary: ^10.4
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.6
- fzaninotto/faker: ^1.9.1
- mockery/mockery: ^1.3.1
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.5.10
- spatie/laravel-ignition: ^1.0
This package is auto-updated.
Last update: 2025-02-26 10:30:02 UTC
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.example
to.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.