PHPackages                             kpeu3u/symfony-cookie-consent-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. kpeu3u/symfony-cookie-consent-bundle

ActiveSymfony-bundle[Security](/categories/security)

kpeu3u/symfony-cookie-consent-bundle
====================================

Symfony bundle to ask the visitors for their consent to use cookies to comply to AVG/GDPR.

1.0.3(7mo ago)026MITPHPPHP ^8.2

Since Sep 23Pushed 3mo agoCompare

[ Source](https://github.com/kpeu3u/symfony-cookie-consent-bundle)[ Packagist](https://packagist.org/packages/kpeu3u/symfony-cookie-consent-bundle)[ RSS](/packages/kpeu3u-symfony-cookie-consent-bundle/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelog (4)Dependencies (22)Versions (6)Used By (0)

Cookie Consent bundle for Symfony
=================================

[](#cookie-consent-bundle-for-symfony)

As soon as you are collecting or processing personally identifiable information (short `PII`) you are obliged to allow your visitors to decide what information are collected. This cookie consent banner bundle helps you to help your users.

Symfony bundle to integrate a cookie consent dialog to your website and to handle cookies according to AVG/GDPR.

\--------------------------------------# Cookie Consent Bundle for Symfony #--------------------------------

[![Latest Stable Version](https://camo.githubusercontent.com/ec9f2dbcc2c04e323a6e3c0a1d37290e780e07a4cf881d41396cfad475b87ce8/68747470733a2f2f706f7365722e707567782e6f72672f6b70657533752f73796d666f6e792d636f6f6b69652d636f6e73656e742d62756e646c652f762f737461626c65)](https://packagist.org/packages/kpeu3u/symfony-cookie-consent-bundle)[![Total Downloads](https://camo.githubusercontent.com/7eb616869d923c3936c4274d31aad385ac6f61efa2c099ca043e18809c82ab8b/68747470733a2f2f706f7365722e707567782e6f72672f6b70657533752f73796d666f6e792d636f6f6b69652d636f6e73656e742d62756e646c652f646f776e6c6f616473)](https://packagist.org/packages/kpeu3u/symfony-cookie-consent-bundle)[![License](https://camo.githubusercontent.com/47e195fdc8b81a56ce68ecc9c76f9c3fd9c4f5e5649c83b6cf6544ab2f309c8a/68747470733a2f2f706f7365722e707567782e6f72672f6b70657533752f73796d666f6e792d636f6f6b69652d636f6e73656e742d62756e646c652f6c6963656e7365)](https://packagist.org/packages/kpeu3u/symfony-cookie-consent-bundle)[![PHP Version](https://camo.githubusercontent.com/629c14a84b1f30241122b6cc5db5fde2aab4398ca474151bcfe5bf9ab7246ccf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b70657533752f73796d666f6e792d636f6f6b69652d636f6e73656e742d62756e646c652e737667)](https://packagist.org/packages/kpeu3u/symfony-cookie-consent-bundle)

Installation
------------

[](#installation)

### Step 1: Download using composer

[](#step-1-download-using-composer)

In a Symfony application run this command to install and integrate Cookie Consent bundle in your application:

```
composer require kpeu3u/symfony-cookie-consent-bundle
```

> **Note**: For automatic configuration via Symfony Flex, the recipe needs to be accepted into the official [Symfony Recipes](https://github.com/symfony/recipes-contrib) repository. Until then, you may need to perform the following steps manually or copy the default configuration from the bundle's `recipe/` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

When using Symfony Flex, the bundle will be enabled automatically (after the recipe is accepted into the official repository). When not using Symfony Flex, enable the bundle manually:

In AppKernel.php add the following line to the registerBundles() method:

```
