itk-dev/gdpr-bundle

安装: 31

依赖: 0

建议者: 0

安全: 0

星标: 1

关注者: 5

分支: 0

公开问题: 0

类型:symfony-bundle

dev-main 2018-03-13 09:02 UTC

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 中进行修改。