itk-dev / terms-bundle
1.0.0
2018-08-28 14:01 UTC
Requires
- friendsofsymfony/user-bundle: ^2.0
- symfony/symfony: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.10
- squizlabs/php_codesniffer: ^3.2
This package is auto-updated.
Last update: 2024-09-21 15:14:36 UTC
README
安装
composer require itk-dev/terms-bundle dev-master
在 app/AppKernel.php
中启用该包
public function registerBundles() { $bundles = [ // … new ItkDev\TermsBundle\ItkDevTermsBundle(), ]; // … }
在 `app/config/routing.yml' 中添加路由,例如
terms_bundle: resource: '@ItkDevTermsBundle/Resources/config/routing.xml' prefix: /terms
检查默认包配置
bin/console config:dump-reference ItkDevTermsBundle
如果默认配置与您的设置不匹配,可以在 app/config/config.yml
中进行修改。
确保 itk_dev_terms.path
已正确设置以匹配您的设置。