hahaxixi / laravel-rbac
laravel admin版本只要权限模块,封装成API
Installs: 609
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 2 832
pkg:composer/hahaxixi/laravel-rbac
Requires
- php: >=7.0.0
 - dingo/api: 2.0.0-alpha2
 - laravel/framework: 5.6 - 5.7
 - liyu/dingo-serializer-switch: ^0.3.0
 - symfony/dom-crawler: ~3.1
 - tymon/jwt-auth: ~1.0.0-rc.2
 
Requires (Dev)
- fzaninotto/faker: ~1.4
 - intervention/image: ~2.3
 - laravel/browser-kit-testing: ^2.0
 - laravel/laravel: 5.6 - 5.7
 - phpunit/phpunit: ~6.0
 - symfony/css-selector: ~3.1
 
Suggests
- intervention/image: Required to handling and manipulation upload images (~2.3).
 - spatie/eloquent-sortable: Required to built orderable gird.
 
This package is auto-updated.
Last update: 2025-10-28 07:01:42 UTC
README
⛵laravel-admin is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.
Documentation | 中文文档 | Demo | Demo source code | Extensions
Inspired by SleepingOwlAdmin and rapyd-laravel.
Screenshots
Requirements
- PHP >= 7.0.0
 - Laravel >= 5.5.0
 - Fileinfo PHP Extension
 
Installation
This package requires PHP 7+ and Laravel 5.5, for old versions please refer to 1.4
First, install laravel 5.5, and make sure that the database connection settings are correct.
composer require hahaxixi/laravel-rbac
Then run these commands to publish assets and config:
php artisan vendor:publish --provider="Encore\Admin\AdminServiceProvider"
After run command you can find config file in config/admin.php, in this file you can change the install directory,db connection or table names.
At last run following command to finish install.
php artisan admin:install
Open http://localhost/admin/ in browser,use username admin and password admin to login.
Configurations
The file config/admin.php contains an array of configurations, you can find the default configurations in there.
Backers
Thank you to all our backers! 🙏 [Become a backer]
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
Other
laravel-admin based on following plugins or services:
- Laravel
 - AdminLTE
 - Datetimepicker
 - font-awesome
 - moment
 - Google map
 - Tencent map
 - bootstrap-fileinput
 - jquery-pjax
 - Nestable
 - toastr
 - X-editable
 - bootstrap-number-input
 - fontawesome-iconpicker
 
License
laravel-admin is licensed under The MIT License (MIT).
