$ composer require miaotiao/config
$ php artisan vendor:publish --provider="Miaotiao\Config\ConfigServiceProvider"
$ php artisan miaotiao:lara-admin-config
Open http://your-host/admin/setting
After add config in the panel, use dbConfig($key)
to get value you configured.
- 使用点语法获取配置信息。
Licensed under The MIT License (MIT).