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.

v0.1.0(6mo ago)414MITPHPPHP &gt;=8.2

Since Oct 24Pushed 6mo 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 (1)Dependencies (10)Versions (2)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

33

—

LowBetter than 74% of packages

Maintenance70

Regular maintenance activity

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

197d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/60cba796814f6cdf78a3c058f88c9ee8e6260c9ff789cf4ceb3e0a000509df4c?d=identicon)[stefpe](/maintainers/stefpe)

---

Top Contributors

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

---

Tags

symfonybundlecookiegdprprivacyconsentcookie-banner

###  Code Quality

TestsPHPUnit

### 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

[sylius/sylius

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

8.4k5.6M647](/packages/sylius-sylius)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[pentatrion/vite-bundle

Vite integration for your Symfony app

2725.3M13](/packages/pentatrion-vite-bundle)[contao/core-bundle

Contao Open Source CMS

1231.6M2.3k](/packages/contao-core-bundle)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M385](/packages/shopware-core)

PHPackages © 2026

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