PHPackages                             avency/neos-cookiebot - 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. avency/neos-cookiebot

ActiveNeos-plugin[Utility &amp; Helpers](/categories/utility)

avency/neos-cookiebot
=====================

Neos CookieBot package

1.1.0(8mo ago)412.3k↓62.5%MITJavaScript

Since Jun 22Pushed 8mo ago2 watchersCompare

[ Source](https://github.com/avency/Avency.Neos.CookieBot)[ Packagist](https://packagist.org/packages/avency/neos-cookiebot)[ RSS](/packages/avency-neos-cookiebot/feed)WikiDiscussions main Synced yesterday

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

Avency.Neos.CookieBot
=====================

[](#avencyneoscookiebot)

> A package to integrate [Cookiebot](https://www.cookiebot.com/) into Neos.

Authors &amp; Sponsors
----------------------

[](#authors--sponsors)

Benjamin Kentsch -
Michael Gerdemann - Enes Erk -

The development and the public-releases of this package is generously sponsored by our employer .

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

[](#installation)

```
composer require avency/neos-cookiebot

```

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

[](#configuration)

Configure the key in Settings.yaml:

```
Avency:
  Neos:
    CookieBot:
      key: ''

```

Or add the mixin to your root page:

```
  superTypes:
    'Avency.Neos.CookieBot:Mixin.CookieBotKey': true

```

Block scripts and load on consent
---------------------------------

[](#block-scripts-and-load-on-consent)

By default, [Cookiebot only rewrites the type of `` tags](https://support.cookiebot.com/hc/en-us/articles/4405978132242-Manual-cookie-blocking#4). With the following helper script, you can also prevent the loading any (external) resources (e.g., scripts and styles) until the appropriate consent is given. After consent, the tags are automatically "unblocked".

### Installation / include

[](#installation--include)

Import the script once in your project:

```
import 'Packages/Plugins/Avency.Neos.CookieBot/Resources/Private/Assets/JavaScript/loadScripts';
```

### Usage

[](#usage)

For resources that should be blocked, repklace the attributes with the corresponding data-attributes and set `type` to `text/plain`. Set the required consent category via `data-cookieconsent` (e.g., "marketing").

#### Example: blocked script

[](#example-blocked-script)

```

```

**Result after consent**: Once consent for the specified category is granted, the tags are automatically rewritten into loadable resources:

```

```

#### Example: blocked stylesheet

[](#example-blocked-stylesheet)

```

```

**Result after consent**: Once consent for the specified category is granted, the tags are automatically rewritten into loadable resources:

```

```

### Notes

[](#notes)

- `data-cookieconsent` defines the required consent category (e.g., "marketing"). You can specify multiple categories as a comma-separated list.
- `data-cookieblock-src` and `data-cookieblock-href` hold the blocked URL, which will be applied to `src` or `href` after consent.
- `data-cookieblock-type` define the target MIME types that will be set after unblocking.
- The initial `type="text/plain"` prevents execution or loading before consent.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](./LICENSE.md) for more information.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance61

Regular maintenance activity

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60% 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 ~1955 days

Total

2

Last Release

246d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f2f7e4940fc539ff0fdf77ccd2e30d5dfe98dd3228cf52ac05aca355b719981?d=identicon)[gerdemann](/maintainers/gerdemann)

---

Top Contributors

[![gerdemann](https://avatars.githubusercontent.com/u/690536?v=4)](https://github.com/gerdemann "gerdemann (3 commits)")[![erkenes](https://avatars.githubusercontent.com/u/8766722?v=4)](https://github.com/erkenes "erkenes (2 commits)")

---

Tags

cookiebotneoscms

### Embed Badge

![Health badge](/badges/avency-neos-cookiebot/health.svg)

```
[![Health](https://phpackages.com/badges/avency-neos-cookiebot/health.svg)](https://phpackages.com/packages/avency-neos-cookiebot)
```

###  Alternatives

[neos/seo

SEO configuration and tools for Neos

141.0M31](/packages/neos-seo)[sitegeist/kaleidoscope

Responsive-images for Neos

29370.3k12](/packages/sitegeist-kaleidoscope)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2542.4k](/packages/kaufmanndigital-gdpr-cookieconsent)[techdivision/ckstyles

Neos package which enables you adding your custom style classes for the CkEditor with a simple Yaml configuration

21179.5k](/packages/techdivision-ckstyles)[sitegeist/taxonomy

Manage vocabularies and taxonomies as separate node-hierarchy.

1595.1k1](/packages/sitegeist-taxonomy)[shel/neos-colorpicker

A plugin for Neos CMS which provides a colorpicker editor

14104.7k6](/packages/shel-neos-colorpicker)

PHPackages © 2026

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