Skip to content

xxl4/laravel-admin

Repository files navigation

Requirements

  • PHP >= 7.2.5
  • Laravel >= 5.5.0
  • Fileinfo PHP Extension

Installation

First, install laravel 5.5, and make sure that the database connection settings are correct.

composer require nicelizhi/laravel-admin

Then run these commands to publish assets and config:

php artisan vendor:publish --provider="Nicelizhi\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.

Modules

User
Roce
Permission
Log
Menu
Organizational
Message

Right to left support

just go to this path <YOUR_PROJECT_PATH>\vendor\Nicelizhi\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

Bug Report

https://github.com/nicelizhi/laravel-admin/issues

Extensions

laravel admin products
laravel admin orders
laravel admin category
laravel admin taobao
laravel admin douyin
laravel admin JD
laravel admin Baidu
laravel admin Amazon
config
message
Amazon Books

Other

laravel-admin based on following plugins or services:

License

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