PHPackages                             kidelag/eu-cookie-law-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kidelag/eu-cookie-law-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

kidelag/eu-cookie-law-bundle
============================

Add the cookie div explanation according to EU law

1.0.1(3y ago)010MITPHPPHP &gt;=5.5.9

Since Nov 21Pushed 3y agoCompare

[ Source](https://github.com/kidelag/eu-cookie-law-bundle)[ Packagist](https://packagist.org/packages/kidelag/eu-cookie-law-bundle)[ RSS](/packages/kidelag-eu-cookie-law-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

EUCookieLawBundle
=================

[](#eucookielawbundle)

Description
-----------

[](#description)

this bundle allow you to add the information message for your users about the cookies. It's a requirement since the [ePrivacy directive](http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm#section_2)

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

[](#installation)

- install the bundle

```
composer require leblanc-simon/eu-cookie-law-bundle
```

- activate the bundle

```
// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            // ...
            new LeblancSimon\EUCookieLawBundle\LeblancSimonEUCookieLawBundle(),
        ];
    }
}
```

Nothing else to do. The HTML will be automatically injected for the text/html response.

Customization
-------------

[](#customization)

### Message

[](#message)

The message and text button can be customized via translation. Add a `Resources/translations/EUCookieLaw.[locale].yml` in your project and customize your text.

```
cookie_law:
    message: |
        Afin de vous proposer le meilleur service possible, ce site utilise des cookies.
        En acceptant de continuer sur ce site, vous déclarer accepter leur utilisation.
    accept: J'accepte
    read_more: Voir plus
```

### Design

[](#design)

to override the design, use id in your CSS files :

```
#eu-cookie-law {

}
#eu-cookie-law-accept {

}
```

### Configuration

[](#configuration)

you can customized the bundle with a configuration :

```
leblanc_simon_eu_cookie_law:
    # The name of the cookie use to know if the user is agree
    cookie_name: eu_cookie_law
    # The value of the cookie use to know if the user is agree
    cookie_value: accept
    # The template use to show the message
    template: 'LeblancSimonEUCookieLawBundle::eu_cookie_law.html.twig'
    # The name of route to be open
    read_more_link: name_to_route
```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

2

Last Release

1320d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/49714997?v=4)[Matthieu](/maintainers/kidelag)[@kidelag](https://github.com/kidelag)

---

Top Contributors

[![leblanc-simon](https://avatars.githubusercontent.com/u/605746?v=4)](https://github.com/leblanc-simon "leblanc-simon (4 commits)")[![migmolrod](https://avatars.githubusercontent.com/u/5715026?v=4)](https://github.com/migmolrod "migmolrod (1 commits)")[![poohia](https://avatars.githubusercontent.com/u/17701613?v=4)](https://github.com/poohia "poohia (1 commits)")

### Embed Badge

![Health badge](/badges/kidelag-eu-cookie-law-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/kidelag-eu-cookie-law-bundle/health.svg)](https://phpackages.com/packages/kidelag-eu-cookie-law-bundle)
```

###  Alternatives

[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[symfony/ai-bundle

Integration bundle for Symfony AI components

32642.2k24](/packages/symfony-ai-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
