PHPackages                             gfilipiak/cookie-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. gfilipiak/cookie-bundle

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

gfilipiak/cookie-bundle
=======================

This bundle provides Cookie Statement layer

0432

Since Feb 1Pushed 12y ago1 watchersCompare

[ Source](https://github.com/gfilipiak/CookieBundle)[ Packagist](https://packagist.org/packages/gfilipiak/cookie-bundle)[ RSS](/packages/gfilipiak-cookie-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

\#ConWeb.pl Cookie Bundle

This bundle provides a simple cookie statement layer with customizable template.

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

[](#installation)

Installing this bundle can be done through these simple steps:

1. Add the bundle to your project as a composer dependency:

```
// composer.json
{
    // ...
    require: {
        // ...
        "gfilipiak/cookie-bundle": "dev-master"
    }
}
```

2. Update your composer installation:

```
composer update
```

3. Add the bundle to your application kernel:

```
// application/ApplicationKernel.php
public function registerBundles()
{
	// ...
	$bundle = array(
		// ...
        new ConWeb\Bundle\CookieBundle\CookieBundle(),
	);
    // ...

    return $bundles;
}
```

4. Add routing import to your routing.yml

```
cookie:
    resource: "@CookieBundle/Resources/config/routing.xml"
    prefix:   /
```

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

[](#customization)

You can change the default statement template by placing configuration parameters in your config.yml file:

```
cookie:
        template: AcmeBundle:Cookie:statement.html.twig
```

Template should have fallowing structure:

```
{% if not accepted %}
    {% stylesheets '@CookieBundle/Resources/public/less/style.less' %}

    {% endstylesheets %}

        Your statement here.

                    Akceptuję

        {% javascripts '@CookieBundle/Resources/public/js/script.js' %}

        {% endjavascripts %}
    {% endif %}
```

TODO:

- customize only the stamement text not the whole template
- customize less path

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/781cadd93447814872451d16a11e92f96e8693f0cb2564b59991e0159d011d25?d=identicon)[gfilipiak](/maintainers/gfilipiak)

---

Top Contributors

[![gfilipiak](https://avatars.githubusercontent.com/u/2045903?v=4)](https://github.com/gfilipiak "gfilipiak (11 commits)")

### Embed Badge

![Health badge](/badges/gfilipiak-cookie-bundle/health.svg)

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

PHPackages © 2026

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