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.0.0(1y ago)020.7k1MITPHPPHP ^8.0

Since Dec 16Pushed 1y ago6 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 1mo ago

READMEChangelog (3)Dependencies (5)Versions (6)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

37

—

LowBetter than 83% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~864 days

Total

3

Last Release

607d 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 (5 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

[symfony/security-bundle

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

2.5k172.9M1.8k](/packages/symfony-security-bundle)[friendsofsymfony/user-bundle

Symfony FOSUserBundle

3.2k35.4M311](/packages/friendsofsymfony-user-bundle)[scheb/2fa

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

578630.7k1](/packages/scheb-2fa)[scheb/2fa-bundle

A generic interface to implement two-factor authentication in Symfony applications

6914.0M61](/packages/scheb-2fa-bundle)[klapaudius/oauth-server-bundle

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

15547.3k2](/packages/klapaudius-oauth-server-bundle)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)

PHPackages © 2026

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