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

3.0.1(6mo ago)06.4k↓35.9%[1 issues](https://github.com/jweiland-net/mediaconsent/issues)GPL-2.0-or-laterPHPCI passing

Since Oct 2Pushed 6mo 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 1mo ago

READMEChangelog (3)Dependencies (9)Versions (17)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 13.4](https://camo.githubusercontent.com/afa776fc5e0d3171e58541b852215f62b33c4ba151d008b1794b0bd511fb9354/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5459504f332d31332e342d677265656e2e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d7479706f33)](https://get.typo3.org/version/13)

[![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

46

—

FairBetter than 93% of packages

Maintenance66

Regular maintenance activity

Popularity23

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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 ~184 days

Recently: every ~361 days

Total

15

Last Release

202d 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

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 (67 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.

17633.8k1](/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.

27807.9k](/packages/jfeltkamp-cookiesjsr)[statikbe/laravel-cookie-consent

Cookie consent modal for EU

213396.7k](/packages/statikbe-laravel-cookie-consent)[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.

1625.8k](/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)

36201.3k1](/packages/dirkpersky-typo3-dp-cookieconsent)[bramdeleeuw/cookieconsent

GDPR compliant cookie bar and consent checker

1511.5k2](/packages/bramdeleeuw-cookieconsent)

PHPackages © 2026

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