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

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

nowo-tech/cookie-consent-bundle
===============================

Symfony bundle providing a GDPR cookie consent modal with category toggles and optional consent logging

v1.3.2(2w ago)06[2 PRs](https://github.com/nowo-tech/CookieConsentBundle/pulls)MITPHPPHP &gt;=8.1 &lt;8.6CI passing

Since Jun 15Pushed 3d agoCompare

[ Source](https://github.com/nowo-tech/CookieConsentBundle)[ Packagist](https://packagist.org/packages/nowo-tech/cookie-consent-bundle)[ Docs](https://github.com/nowo-tech/CookieConsentBundle)[ RSS](/packages/nowo-tech-cookie-consent-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (9)Dependencies (31)Versions (14)Used By (0)

Cookie Consent Bundle
=====================

[](#cookie-consent-bundle)

[![CI](https://github.com/nowo-tech/CookieConsentBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/nowo-tech/CookieConsentBundle/actions/workflows/ci.yml) [![Packagist Version](https://camo.githubusercontent.com/75950d785a0be3504608fedc68f83aed09910ba8788206d5ccd1daf9e7a1da76/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f776f2d746563682f636f6f6b69652d636f6e73656e742d62756e646c652e7376673f7374796c653d666c6174)](https://packagist.org/packages/nowo-tech/cookie-consent-bundle) [![Packagist Downloads](https://camo.githubusercontent.com/15eadf2c7834fa82317b74a1a884985926d2d39a426a0688d7470d61d214420b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f776f2d746563682f636f6f6b69652d636f6e73656e742d62756e646c652e737667)](https://packagist.org/packages/nowo-tech/cookie-consent-bundle) [![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE) [![PHP](https://camo.githubusercontent.com/8e58b490725ac49cc8e463c473173681b324c9d92d7854275a785db013ca3de7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d3737374242343f6c6f676f3d706870)](https://php.net) [![Symfony](https://camo.githubusercontent.com/3db9767565eebe4677a1af36a4a41db55f2d39a9b66ba0bb63a3ca290941c15d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d36253242253230253743253230372e34253230253743253230382e30253230253743253230382e312532422d3030303030303f6c6f676f3d73796d666f6e79)](https://symfony.com) [![GitHub stars](https://camo.githubusercontent.com/090b6130830821c204b289ce3178b79cc9051bd6f6d8477d2f805f8d4d161c23/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6e6f776f2d746563682f636f6f6b69652d636f6e73656e742d62756e646c652e7376673f7374796c653d736f6369616c266c6162656c3d53746172)](https://github.com/nowo-tech/CookieConsentBundle) [![Coverage](https://camo.githubusercontent.com/a6148707bc3810a6ea810ed391bd0f28f4ba720689c82af89a429223c0e15df2/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d39392e39352532352d627269676874677265656e)](#tests-and-coverage)

> ⭐ **Found this useful?** [Install from Packagist](https://packagist.org/packages/nowo-tech/cookie-consent-bundle) · Give it a **star** on [GitHub](https://github.com/nowo-tech/CookieConsentBundle) so more developers can find it.

Symfony bundle that renders a GDPR cookie consent modal with category toggles, optional per-cookie selection, cookie inventory, AJAX form submission, optional consent logging, and configurable Doctrine table prefix.

Frontend behavior is implemented in TypeScript and built with Vite (`make assets` → `src/Resources/public/nowo-consent-modal.js`).

[![FrankenPHP Friendly Worker Mode](docs/images/frankenphp-friendly.png)](docs/images/frankenphp-friendly.png)

This bundle is **FrankenPHP worker mode friendly**.

Documentation
-------------

[](#documentation)

- [GitHub Actions CI requirements](docs/GITHUB_CI.md)
- [Installation](docs/INSTALLATION.md)
- [Configuration](docs/CONFIGURATION.md)
- [Usage](docs/USAGE.md)
- [Contributing](docs/CONTRIBUTING.md)
- [Code of Conduct](CODE_OF_CONDUCT.md)
- [Changelog](docs/CHANGELOG.md)
- [Upgrading](docs/UPGRADING.md)
- [Release](docs/RELEASE.md)
- [Security](docs/SECURITY.md)
- [Engram](docs/ENGRAM.md)
- [Spec-driven development](docs/SPEC-DRIVEN-DEVELOPMENT.md)
- [GitHub Spec Kit](docs/SPEC-KIT.md)

### Additional documentation

[](#additional-documentation)

- [Demo with FrankenPHP](docs/DEMO-FRANKENPHP.md)

Quick start
-----------

[](#quick-start)

```
composer require nowo-tech/cookie-consent-bundle
```

```
# config/packages/nowo_cookie_consent.yaml
nowo_cookie_consent:
    doctrine:
        table_prefix: 'app_'   # optional; yields app_dashboard_cookie_log
    use_logger: true
```

```
{# templates/base.html.twig #}
{% if nowo_cookie_consent_should_embed_modal() %}
    {{ render(path('nowo_cookie_consent.show_if_not_set')) }}
{% endif %}
```

Install public assets:

```
php bin/console assets:install
```

Demo
----

[](#demo)

```
make -C demo up-symfony8
# Bootstrap demo: http://localhost:8014

make -C demo up-symfony8-tailwind
# Tailwind demo: http://localhost:8015
```

- `demo/symfony8/` — FrankenPHP Symfony 8 app with Bootstrap 5
- `demo/symfony8-tailwind/` — same demo with Tailwind CSS and `ui_theme: tailwind`

See [Demo with FrankenPHP](docs/DEMO-FRANKENPHP.md) for development vs. production worker mode.

Tests and coverage
------------------

[](#tests-and-coverage)

LanguageLines (approx.)CommandPHP≥99% (currently 99.95%)`make test-coverage`TypeScript~94%`make test-ts````
make test
make test-coverage
make test-ts
make assets
make release-check
```

PHP coverage target is **≥99%** lines (prefer 100%; see [Release](docs/RELEASE.md)). Justified exclusions use PHPUnit `@codeCoverageIgnore` (e.g. unreachable `match` default arms). TypeScript coverage enforces a minimum of 90% (Vitest thresholds + `.scripts/ts-coverage-percent.sh`).

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance98

Actively maintained with recent releases

Popularity6

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 65.9% 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 ~4 days

Total

7

Last Release

18d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7947bfc3f2ce9574a18a2c60f3d95b5d1b0740e65dc929332c92f1df21f75ab?d=identicon)[HecFranco](/maintainers/HecFranco)

---

Top Contributors

[![HecFranco](https://avatars.githubusercontent.com/u/24323276?v=4)](https://github.com/HecFranco "HecFranco (29 commits)")[![actions-user](https://avatars.githubusercontent.com/u/65916846?v=4)](https://github.com/actions-user "actions-user (6 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (2 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

symfonybundlecookiemodalgdprprivacyconsent

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nowo-tech-cookie-consent-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M405](/packages/easycorp-easyadmin-bundle)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

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

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M756](/packages/sylius-sylius)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.2k18.1k](/packages/prestashop-prestashop)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k64](/packages/open-dxp-opendxp)[oro/platform

Business Application Platform (BAP)

645143.5k116](/packages/oro-platform)

PHPackages © 2026

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