PHPackages                             t3g/symfony-usercentrics-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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. t3g/symfony-usercentrics-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

t3g/symfony-usercentrics-bundle
===============================

Integration of usercentrics.com for Symfony

2.1.0(2mo ago)021.3k1MITPHPPHP ^8.0CI passing

Since Dec 16Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/TYPO3GmbH/symfony-usercentrics-bundle)[ Packagist](https://packagist.org/packages/t3g/symfony-usercentrics-bundle)[ RSS](/packages/t3g-symfony-usercentrics-bundle/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (10)Versions (7)Used By (0)

Usercentrics bundle
===================

[](#usercentrics-bundle)

This bundle provides a usercentrics.com implementation into Symfony.

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

[](#installation)

Install this bundle via composer: `composer req t3g/symfony-usercentrics-bundle`

Configuration
-------------

[](#configuration)

Create a file `config/packages/usercentrics.yaml` that contains the following configuration:

```
usercentrics:
  id: xxxxxxxxx
```

Usage in Templates
------------------

[](#usage-in-templates)

At first, the usercentrics main library must be included. For this, the Twig function `usercentrics()` may be invoked without any additional arguments:

```
{{ usercentrics() }}
```

After that, additional Data Service Providers (DSP) may be included as well. See the following example for Google Analytics:

```
{{ usercentrics('Google Analytics', {async: true, src: 'https://www.googletagmanager.com/gtag/js?id=UA-XXXXXXXX-X'}) }}
{{ usercentrics(
    'Google Analytics',
    {},
    '
        window.dataLayer = window.dataLayer || [];
        function gtag(){dataLayer.push(arguments);}
        gtag(\'js\', new Date());

        gtag(\'config\', \'UA-XXXXXXXX-X\');
    '
) }}
```

###  Health Score

51

—

FairBetter than 95% of packages

Maintenance86

Actively maintained with recent releases

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.3% 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 ~774 days

Total

4

Last Release

67d ago

Major Versions

1.0.1 → 2.0.02024-09-09

PHP version history (3 changes)1.0.0PHP ^7.2

1.0.1PHP ^7.2 || ^8.0

2.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/63373213aae432ce35282f7b1f0843556ca1127c9e2ea39dbeffd990c41c4427?d=identicon)[typo3com](/maintainers/typo3com)

---

Top Contributors

[![andreaskienast](https://avatars.githubusercontent.com/u/1787983?v=4)](https://github.com/andreaskienast "andreaskienast (7 commits)")[![benjaminkott](https://avatars.githubusercontent.com/u/3243119?v=4)](https://github.com/benjaminkott "benjaminkott (3 commits)")[![buchmarv](https://avatars.githubusercontent.com/u/8483328?v=4)](https://github.com/buchmarv "buchmarv (1 commits)")[![gilbertsoft](https://avatars.githubusercontent.com/u/25326036?v=4)](https://github.com/gilbertsoft "gilbertsoft (1 commits)")

---

Tags

symfonysymfony-bundle

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/t3g-symfony-usercentrics-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/t3g-symfony-usercentrics-bundle/health.svg)](https://phpackages.com/packages/t3g-symfony-usercentrics-bundle)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

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

Provides a tight integration of the Security component into the Symfony full-stack framework

2.5k185.6M2.4k](/packages/symfony-security-bundle)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

585684.2k1](/packages/scheb-2fa)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)[klapaudius/oauth-server-bundle

Symfony(5.x to 8.x) OAuth Server Bundle

16688.1k4](/packages/klapaudius-oauth-server-bundle)

PHPackages © 2026

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