laravel-admin is administrative interface builder for laravel which can help you build CRUD backends just with few lines of code.
Demo use username/password:admin/admin
Inspired by SleepingOwlAdmin and rapyd-laravel.
Documentation | Chinese documents
Screenshots
Installation
First, install laravel, and make sure that the database connection settings are correct.
Laravel 5.1 Composer require encore/ Laravel-admin "1.1.*" Laravel 5.2 Composer require encore/ Laravel-admin "1.2.*" Laravel 5.3 Composer require encore/laravel-admin "1.3.*" Laravel 5.4 composer require encore/laravel-admin "1.4.x-dev"
Copy the code
Inconfig/app.php
addServiceProvider
:
Encore\Admin\Providers\AdminServiceProvider::class
Copy the code
Then run these commands to publish assets and config:
php artisan vendor:publish --tag=laravel-admin
Copy the code
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
Copy the code
Open http://localhost/admin/
in browser,use username admin
and password admin
to login.
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
- 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).