daimakuai-ext/config
Composer 安装命令:
composer require daimakuai-ext/config
包简介
Config extension for daimakuai-admin
README 文档
README
Inspired by https://github.com/laravel-backpack/settings.
Screenshot
Installation
$ composer require daimakuai-extensions/config
$ php artisan migrate
Open app/Providers/AppServiceProvider.php, and call the Config::load() method within the boot method:
<?php namespace App\Providers; use Jblv\Admin\Config\Config; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { public function boot() { Config::load(); } }
Then run:
$ php artisan admin:import config
Open http://your-host/admin/config
Usage
After add config in the panel, use config($key) to get value you configured.
License
Licensed under The MIT License (MIT).
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-11
