https://github.com/wahid09/laravel-quickadmin
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.
https://github.com/wahid09/laravel-quickadmin
jwt-authentication laravel laravel-acl laravel-boilerplate laravel-framework laravel-jwt-authentication
Last synced: 6 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/wahid09/laravel-quickadmin
- Owner: wahid09
- License: mit
- Created: 2020-10-28T15:47:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-10-26T05:20:09.000Z (about 3 years ago)
- Last Synced: 2025-02-24T19:01:37.402Z (8 months ago)
- Topics: jwt-authentication, laravel, laravel-acl, laravel-boilerplate, laravel-framework, laravel-jwt-authentication
- Language: PHP
- Homepage: https://github.com/wahid09/Laravel-QuickAdmin
- Size: 8.85 MB
- Stars: 4
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About QuickAdmin
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
```shell
git clone https://github.com/wahid09/QuickAdmin.git
cd QuickAdmin
```
- Install Dependencies
1. install composer
```shell
composer install
```
2. Copy `.env.example` to `.env`
```shell
cp .env.example .env
```
3. Generate application key
```shell
php artisan key:generate
```
4. Databse migrations
```shell
php artisan migrate:refresh --seed
```
5. Start the webserver
```shell
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.
```shell
Gate::authorize('permission slug');
```
e.g
```shell
public function store(ModuleRequest $request){
Gate::authorize('module-create');
//code
}
```
Blade directive for sidebar menu control.
```shell
@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.
```shell
\LogActivity::addToLog('user action');
```
###### License
The QuickAdmin is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).