PHPackages                             jweiland/mediaconsent - 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. [Security](/categories/security)
4. /
5. jweiland/mediaconsent

ActiveTypo3-cms-extension[Security](/categories/security)

jweiland/mediaconsent
=====================

This TYPO3 extension makes sure that content is only loaded if the user agrees cookie consent

4.0.0(2w ago)17.5k↓72.4%[1 issues](https://github.com/jweiland-net/mediaconsent/issues)[5 PRs](https://github.com/jweiland-net/mediaconsent/pulls)GPL-2.0-or-laterPHPCI passing

Since Oct 2Pushed 2w agoCompare

[ Source](https://github.com/jweiland-net/mediaconsent)[ Packagist](https://packagist.org/packages/jweiland/mediaconsent)[ Docs](https://jweiland.net)[ RSS](/packages/jweiland-mediaconsent/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (4)Dependencies (14)Versions (23)Used By (0)

TYPO3 Extension `mediaconsent`
==============================

[](#typo3-extension-mediaconsent)

[![Packagist](https://camo.githubusercontent.com/5ee9b5be33b429cd91d7c89cc45211ab0e172179f41b8dc26888cb6c6cf0479c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f2d2d677265792e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374266c6f676f436f6c6f723d7768697465)](https://packagist.org/packages/jweiland/mediaconsent/)[![Latest Stable Version](https://camo.githubusercontent.com/7a9552c9c977d51d93a35168b7db5ed6bfffe946d5e0d29787a925acc8dc73ea/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d65646961636f6e73656e742f762f737461626c652e7376673f7374796c653d666f722d7468652d6261646765)](https://extensions.typo3.org/extension/mediaconsent/)[![Total Downloads](https://camo.githubusercontent.com/b207bad69a8e4842ff32f08b5b7977f6a86b9d045245e759afb783e98245994c/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d65646961636f6e73656e742f642f746f74616c2e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jweiland/mediaconsent/)[![Monthly Downloads](https://camo.githubusercontent.com/e0edbc735e6333d5132acf4ac70cc6f6d4ad659eb70f3d4ccdfd83cd7026ade1/68747470733a2f2f706f7365722e707567782e6f72672f6a7765696c616e642f6d65646961636f6e73656e742f642f6d6f6e74686c793f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/jweiland/mediaconsent/)[![TYPO3 14.3](https://camo.githubusercontent.com/bdfa977c6fa6b96a96f96385ba2110bde306d7e07af5ce3c2196534b5e685cc3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31342e332d677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7479706f33)](https://get.typo3.org/version/14)

[![Build Status](https://github.com/jweiland-net/mediaconsent/actions/workflows/ci.yml/badge.svg)](https://github.com/jweiland-net/mediaconsent/actions/workflows/ci.yml/badge.svg)

This extension loads HTML content only after the user has clicked on a short note expressing his/her agreement to see it.

It is useful for embedding HTML snippets (often called widgets) from social media content providers like Facebook, Twitter and others. If the user does not agree, no widget is shown and no personal data (IP number etc.) is transferred to the social media provider.

The extension provides a new content element called "Media Consent Opt-In" which has two specific fields: one for the HTML snippet embedding the content, another for selecting the content provider (Facebook, Twitter...)

Routing
-------

[](#routing)

To make the extension work with TYPO3's new routing, you should add a page type suffix for the reload page type, similar to this example:

```
routeEnhancers:
  PageTypeSuffix:
    map:
      mediaconsent.html: 122

```

Support
-------

[](#support)

Free Support is available via [GitHub Issue Tracker](https://github.com/jweiland-net/mediaconsent/issues).

For commercial support, please contact us at [support@jweiland.net](support@jweiland.net).

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance76

Regular maintenance activity

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 64.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 ~187 days

Recently: every ~216 days

Total

16

Last Release

18d ago

Major Versions

v0.1.8 → 1.0.02021-11-12

0.2.0 → 2.0.02024-02-02

2.0.1 → 3.0.02025-05-06

3.0.1 → 4.0.02026-06-16

PHP version history (4 changes)v0.1.0PHP 5.6 - 7.1

v0.1.2PHP &gt;=5.6

v0.1.6PHP &gt;=7.0

0.2.0PHP &gt;7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/cb3188d5c1229a7c04958c000b853852b90f81036611ceff5b9641d8376bd06e?d=identicon)[jweiland.net](/maintainers/jweiland.net)

---

Top Contributors

[![hojalatheef](https://avatars.githubusercontent.com/u/144037456?v=4)](https://github.com/hojalatheef "hojalatheef (101 commits)")[![sfroemkenjw](https://avatars.githubusercontent.com/u/123929835?v=4)](https://github.com/sfroemkenjw "sfroemkenjw (39 commits)")[![koehnlein](https://avatars.githubusercontent.com/u/16088567?v=4)](https://github.com/koehnlein "koehnlein (6 commits)")[![pascal20997](https://avatars.githubusercontent.com/u/1337769?v=4)](https://github.com/pascal20997 "pascal20997 (6 commits)")[![abkekvw](https://avatars.githubusercontent.com/u/11679202?v=4)](https://github.com/abkekvw "abkekvw (5 commits)")

---

Tags

cookiegdprconsentdsgvomediaconsent

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jweiland-mediaconsent/health.svg)

```
[![Health](https://phpackages.com/badges/jweiland-mediaconsent/health.svg)](https://phpackages.com/packages/jweiland-mediaconsent)
```

###  Alternatives

[devrabiul/laravel-cookie-consent

A GDPR-compliant cookie consent solution for Laravel applications with fully customizable cookie banners, granular consent control, and enterprise-grade compliance features.

18355.4k1](/packages/devrabiul-laravel-cookie-consent)[jfeltkamp/cookiesjsr

COOKiES JSR is a consent management tool and provides UI and API to manage 3rd party services within the GDPR.

27878.6k](/packages/jfeltkamp-cookiesjsr)[codingfreaks/cf-cookiemanager

Manage cookies, scripts, and GDPR compliance on your Typo3 website with CodingFreaks Typo3 Cookie Manager. Customize cookie banners, streamline workflow, and enhance user experience. Ensure GDPR compliance and take control of cookie management with our Typo3 cookie management extension. Visit the official Typo3 Documentation page to learn more.

1830.7k](/packages/codingfreaks-cf-cookiemanager)[dirkpersky/typo3-dp_cookieconsent

Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)

36210.4k1](/packages/dirkpersky-typo3-dp-cookieconsent)

PHPackages © 2026

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