PHPackages                             stefpe/sp-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. stefpe/sp-consent-bundle

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

stefpe/sp-consent-bundle
========================

A Symfony bundle that provides a GDPR-compliant cookie and consent banner component.

0.2.0(1mo ago)418MITPHPPHP &gt;=8.4

Since Oct 24Pushed 1mo agoCompare

[ Source](https://github.com/stefpe/sp-consent-bundle)[ Packagist](https://packagist.org/packages/stefpe/sp-consent-bundle)[ Docs](https://github.com/stefpe/sp-consent-bundle)[ RSS](/packages/stefpe-sp-consent-bundle/feed)WikiDiscussions main Synced 1mo ago

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

SpConsentBundle
===============

[](#spconsentbundle)

A Symfony bundle that provides a GDPR-compliant cookie and consent banner component.

Features
--------

[](#features)

- 🎨 **Unstyled by Default** - Bring your own styling (Tailwind, Bootstrap, custom CSS)
- 🔧 **Fully Customizable** - Every element can be styled with classes or inline styles
- ⚡ **Live Components** - Interactive banner with Symfony UX Live Components
- 🌍 **Translation Ready** - Multi-language support built-in
- 🍪 **Cookie Categories** - Support for necessary, analytics, marketing, and functional cookies
- 📊 **GDPR Compliant** - Built with privacy regulations in mind
- 🎯 **Easy Integration** - Simple Twig components, no complex setup

Quick Start
-----------

[](#quick-start)

```
composer require stefpe/sp-consent-bundle
```

Add the component to your base template:

```
{{ component('CookieConsentBanner') }}
```

**Important:** The components come with minimal default classes only. You need to style them yourself using Tailwind CSS, custom CSS, or any CSS framework. See the documentation for styling examples.

Resources
---------

[](#resources)

- [Documentation](docs/index.md)
- [Contributing](CONTRIBUTING.md)
- [Report issues](https://github.com/stefpe/sp-consent-bundle/issues) and [send Pull Requests](https://github.com/stefpe/sp-consent-bundle/pulls)in the [main repository](https://github.com/stefpe/sp-consent-bundle)

License
-------

[](#license)

This bundle is released under the MIT license. See the included [LICENSE](LICENSE) file for more information.

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance90

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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.

###  Release Activity

Cadence

Every ~199 days

Total

2

Last Release

52d ago

PHP version history (2 changes)v0.1.0PHP &gt;=8.2

0.2.0PHP &gt;=8.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2837925?v=4)[Stefan](/maintainers/stefpe)[@stefpe](https://github.com/stefpe)

---

Top Contributors

[![stefpe](https://avatars.githubusercontent.com/u/2837925?v=4)](https://github.com/stefpe "stefpe (2 commits)")

---

Tags

symfonybundlecookiegdprprivacyconsentcookie-banner

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

![Health badge](/badges/stefpe-sp-consent-bundle/health.svg)

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

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sylius/sylius

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

8.5k5.9M736](/packages/sylius-sylius)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M203](/packages/sulu-sulu)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)

PHPackages © 2026

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