76 lines
3.2 KiB
Markdown
76 lines
3.2 KiB
Markdown
|
|
laravel-admin
|
|||
|
|
=====
|
|||
|
|
|
|||
|
|
[](https://travis-ci.org/z-song/laravel-admin)
|
|||
|
|
[](https://styleci.io/repos/48796179)
|
|||
|
|
[](https://scrutinizer-ci.com/g/z-song/laravel-admin/?branch=master)
|
|||
|
|
[](https://packagist.org/packages/encore/laravel-admin)
|
|||
|
|
[](https://packagist.org/packages/encore/laravel-admin)
|
|||
|
|
[](https://github.com/z-song/laravel-admin)
|
|||
|
|
|
|||
|
|
`laravel-admin` is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.
|
|||
|
|
|
|||
|
|
[Demo](http://laravel-admin.org/demo) use `username/password:admin/admin`
|
|||
|
|
|
|||
|
|
Inspired by [SleepingOwlAdmin](https://github.com/sleeping-owl/admin) and [rapyd-laravel](https://github.com/zofe/rapyd-laravel).
|
|||
|
|
|
|||
|
|
[Documentation](http://laravel-admin.org/docs) | [中文文档](http://laravel-admin.org/docs/#/zh/)
|
|||
|
|
|
|||
|
|
Screenshots
|
|||
|
|
------------
|
|||
|
|
|
|||
|
|

|
|||
|
|
|
|||
|
|
Installation
|
|||
|
|
------------
|
|||
|
|
|
|||
|
|
> This package requires PHP 7+ and Laravel 5.5, for old versions please refer to [1.4](http://laravel-admin.org/docs/v1.4/#/)
|
|||
|
|
|
|||
|
|
First, install laravel 5.5, and make sure that the database connection settings are correct.
|
|||
|
|
|
|||
|
|
```
|
|||
|
|
composer require encore/laravel-admin 1.5.*
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
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.
|
|||
|
|
|
|||
|
|
Default Settings
|
|||
|
|
------------
|
|||
|
|
The file in `config/admin.php` contains an array of settings, you can find the default settings in there.
|
|||
|
|
|
|||
|
|
|
|||
|
|
Other
|
|||
|
|
------------
|
|||
|
|
`laravel-admin` based on following plugins or services:
|
|||
|
|
|
|||
|
|
+ [Laravel](https://laravel.com/)
|
|||
|
|
+ [AdminLTE](https://almsaeedstudio.com/)
|
|||
|
|
+ [Datetimepicker](http://eonasdan.github.io/bootstrap-datetimepicker/)
|
|||
|
|
+ [font-awesome](http://fontawesome.io)
|
|||
|
|
+ [moment](http://momentjs.com/)
|
|||
|
|
+ [Google map](https://www.google.com/maps)
|
|||
|
|
+ [Tencent map](http://lbs.qq.com/)
|
|||
|
|
+ [bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)
|
|||
|
|
+ [jquery-pjax](https://github.com/defunkt/jquery-pjax)
|
|||
|
|
+ [Nestable](http://dbushell.github.io/Nestable/)
|
|||
|
|
+ [toastr](http://codeseven.github.io/toastr/)
|
|||
|
|
+ [X-editable](http://github.com/vitalets/x-editable)
|
|||
|
|
+ [bootstrap-number-input](https://github.com/wpic/bootstrap-number-input)
|
|||
|
|
+ [fontawesome-iconpicker](https://github.com/itsjavi/fontawesome-iconpicker)
|
|||
|
|
|
|||
|
|
License
|
|||
|
|
------------
|
|||
|
|
`laravel-admin` is licensed under [The MIT License (MIT)](LICENSE).
|