zigr/connectholland_cookie-consent-bundle-fork
最新稳定版本:0.12.0
Composer 安装命令:
composer require zigr/connectholland_cookie-consent-bundle-fork
包简介
Symfony bundle for implementing Cookie Consent to comply to AVG/GDPR. Based on https://github.com/Harborn-digital/cookie-consent-bundle and adapted to meet symfony 6.4 requirements.
README 文档
README
Based on Harborn-digital Cookie Consent Bundle and adapted to meet Symfony 6.4 requirements. As well as PHP Unit 9 testing
Installation
Step 1: Download using composer
In a Symfony application run this command to install and integrate Cookie Consent bundle in your application:
composer require zigr/connectholland_cookie-consent-bundle-fork
Step 2: Go futher on Original Bundle Installation Page
Step 3:
There should be the following files:
./config/packages/ch_cookie_consent.yaml As per configuration after Step 2 above.
./config/bundles.php
... ConnectHolland\CookieConsentBundle\CHCookieConsentBundle::class => ['all' => true],
./config/packages/framework.yaml:
framework: annotations: false
config/routes/ch_cookie_consent.yaml
ch_cookie_consent: resource: "@CHCookieConsentBundle/Resources/config/routing.yaml"
Step 4(optional):
If you choose to log cookie consent to db when configuring Step 2, then
./bin/console doctrine:schema:update --complete --dump-sql
and perform migration for log table creation.
统计信息
- 总下载量: 170
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-06-06