gupalo/config-bundle
最新稳定版本:1.7
Composer 安装命令:
composer require gupalo/config-bundle
包简介
Config Bundle
README 文档
README
Install
Composer
composer req gupalo/config-bundle
Check if bundle was added to config/bundles.php
Gupalo\ConfigBundle\ConfigBundle::class => ['all' => true],
Add routes - create config/routes/config.yaml
config:
resource: "@ConfigBundle/Resources/config/routing/routing.yaml"
Override translations if needed in translations/messages.en.yaml (see Resources/translations for possible values).
Create config table in DB
php bin/console make:migration
php bin/console doctrine:migrations:migrate -n
Add to service.yaml possible values and default values
parameters:
...
config.defaults:
SOME_PARAM: 0
OTHER_PARAM: '-2 days'
Usage
Go to /config in browser.
统计信息
- 总下载量: 11.41k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-25