/laravel-admin

Build a full-featured administrative interface in ten minutes

Primary LanguagePHPMIT LicenseMIT

laravel-admin

Build Status StyleCI Scrutinizer Code Quality Packagist Total Downloads Awesome Laravel

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 | 中文文档

Screenshots

laravel-admin

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"

Inconfig/app.phpaddServiceProvider:

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.

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:

License

laravel-admin is licensed under The MIT License (MIT).