Awesome
<p align="center"> <a href="https://laravel-admin.org/"> <img src="https://laravel-admin.org/images/logo002.png" alt="laravel-admin"> </a> <p align="center">⛵<code>laravel-admin</code> is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.</p> <p align="center"> <a href="https://laravel-admin.org/docs">Documentation</a> | <a href="https://laravel-admin.org/docs/zh">中文文档</a> | <a href="https://demo.laravel-admin.org">Demo</a> | <a href="https://github.com/z-song/demo.laravel-admin.org">Demo source code</a> | <a href="#extensions">Extensions</a> </p> <p align="center"> <a href="https://travis-ci.org/z-song/laravel-admin"> <img src="https://travis-ci.org/z-song/laravel-admin.svg?branch=master" alt="Build Status"> </a> <a href="https://styleci.io/repos/48796179"> <img src="https://styleci.io/repos/48796179/shield" alt="StyleCI"> </a> <a href="https://packagist.org/packages/encore/laravel-admin"> <img src="https://img.shields.io/packagist/l/encore/laravel-admin.svg?maxAge=2592000&&style=flat-square" alt="Packagist"> </a> <a href="https://packagist.org/packages/encore/laravel-admin"> <img src="https://img.shields.io/packagist/dt/encore/laravel-admin.svg?style=flat-square" alt="Total Downloads"> </a> <a href="https://github.com/z-song/laravel-admin"> <img src="https://img.shields.io/badge/Awesome-Laravel-brightgreen.svg?style=flat-square" alt="Awesome Laravel"> </a> <a href="#backers" alt="sponsors on Open Collective"> <img src="https://opencollective.com/laravel-admin/backers/badge.svg?style=flat-square" /> </a> <a href="https://www.paypal.me/zousong" alt="Paypal donate"> <img src="https://img.shields.io/badge/Donate-Paypal-green.svg?style=flat-square" /> </a> </div> <p align="center"> Inspired by <a href="https://github.com/sleeping-owl/admin" target="_blank">SleepingOwlAdmin</a> and <a href="https://github.com/zofe/rapyd-laravel" target="_blank">rapyd-laravel</a>. </p>Sponsor
<a href="https://ter.li/32ifxj"> <img src="https://user-images.githubusercontent.com/1479100/102449272-dc356880-406e-11eb-9079-169c8c2af81c.png" alt="laravel-admin" width="200px;"> </a>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 encore/laravel-admin
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.
Right to left support
just go to this path <YOUR_PROJECT_PATH>\vendor\encore\laravel-admin\src\Traits\HasAssets.php
and modify $baseCss
array for loading right to left (rtl) version of bootstap and AdminLTE css files.
bootstrap.min.css change it to bootstrap.rtl.min.css
AdminLTE.min.css change it to AdminLTE.rtl.min.css
Extensions
Extension | Description | laravel-admin |
---|---|---|
helpers | Several tools to help you in development | ~1.5 |
media-manager | Provides a web interface to manage local files | ~1.5 |
api-tester | Help you to test the local laravel APIs | ~1.5 |
scheduling | Scheduling task manager for laravel-admin | ~1.5 |
redis-manager | Redis manager for laravel-admin | ~1.5 |
backup | An admin interface for managing backups | ~1.5 |
log-viewer | Log viewer for laravel | ~1.5 |
config | Config manager for laravel-admin | ~1.5 |
reporter | Provides a developer-friendly web interface to view the exception | ~1.5 |
wangEditor | A rich text editor based on wangeditor | ~1.6 |
summernote | A rich text editor based on summernote | ~1.6 |
china-distpicker | 一个基于distpicker的中国省市区选择器 | ~1.6 |
simplemde | A markdown editor based on simplemde | ~1.6 |
phpinfo | Integrate the phpinfo page into laravel-admin | ~1.6 |
php-editor <br/> python-editor <br/> js-editor<br/> css-editor<br/> clike-editor | Several programing language editor extensions based on code-mirror | ~1.6 |
star-rating | Star Rating extension for laravel-admin | ~1.6 |
json-editor | JSON Editor for Laravel-admin | ~1.6 |
grid-lightbox | Turn your grid into a lightbox & gallery | ~1.6 |
daterangepicker | Integrates daterangepicker into laravel-admin | ~1.6 |
material-ui | Material-UI extension for laravel-admin | ~1.6 |
sparkline | Integrates jQuery sparkline into laravel-admin | ~1.6 |
chartjs | Use Chartjs in laravel-admin | ~1.6 |
echarts | Use Echarts in laravel-admin | ~1.6 |
simditor | Integrates simditor full-rich editor into laravel-admin | ~1.6 |
cropper | A simple jQuery image cropping plugin. | ~1.6 |
composer-viewer | A web interface of composer packages in laravel. | ~1.6 |
data-table | Advanced table widget for laravel-admin | ~1.6 |
watermark | Text watermark for laravel-admin | ~1.6 |
google-authenticator | Google authenticator | ~1.6 |
Contributors
This project exists thanks to all the people who contribute. [Contribute]. <a href="graphs/contributors"><img src="https://opencollective.com/laravel-admin/contributors.svg?width=890&button=false" /></a>
Backers
Thank you to all our backers! 🙏 [Become a backer] <a href="https://opencollective.com/laravel-admin#backers" target="_blank"><img src="https://opencollective.com/laravel-admin/backers.svg?width=890"></a>
Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor] <a href="https://opencollective.com/laravel-admin/sponsor/0/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/0/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/1/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/1/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/2/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/2/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/3/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/3/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/4/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/4/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/5/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/5/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/6/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/6/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/7/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/7/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/8/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/8/avatar.svg"></a> <a href="https://opencollective.com/laravel-admin/sponsor/9/website" target="_blank"><img src="https://opencollective.com/laravel-admin/sponsor/9/avatar.svg"></a>
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
- sweetalert2
License
laravel-admin
is licensed under The MIT License (MIT).