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.
First, install laravel, and make sure that the database connection settings are correct.
Laravel 5.1, not maintained
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.*"
Inconfig/app.php
addServiceProvider
:
Encore\Admin\Providers\AdminServiceProvider::class
Then run these commands to publish assets and config:
php artisan vendor:publish --tag=laravel-admin
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.
The file in config/admin.php
contains an array of settings, you can find the default settings in there.
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
laravel-admin
is licensed under The MIT License (MIT).