itk-dev / gdpr-bundle
dev-main
2018-03-13 09:02 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-08-29 10:49:34 UTC
README
安装
composer require itk-dev/gdpr-bundle dev-master
在 app/AppKernel.php
中启用此包
public function registerBundles() { $bundles = [ // … new ItkDev\GDPRBundle\ItkDevGDPRBundle(), ]; // … }
在 `app/config/routing.yml' 中添加路由,例如
gdpr_bundle: resource: '@ItkDevGDPRBundle/Resources/config/routing.xml' prefix: /gdpr
检查默认包配置
bin/console config:dump-reference ItkDevGDPRBundle
如果默认配置不符合您的设置,您可以在 app/config/config.yml
中进行修改。