PHPackages                             neosrulez/neos-cookieconsent - 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. neosrulez/neos-cookieconsent

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

neosrulez/neos-cookieconsent
============================

Cookie consent banner for Neos CMS and Neos Flow

1.0.5(1y ago)01.9kTypeScript

Since Feb 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/patriceckhart/NeosRulez.Neos.CookieConsent)[ Packagist](https://packagist.org/packages/neosrulez/neos-cookieconsent)[ RSS](/packages/neosrulez-neos-cookieconsent/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

Cookie consent banner for Neos CMS and Neos Flow
================================================

[](#cookie-consent-banner-for-neos-cms-and-neos-flow)

A Neos CMS/Neos Flow package that provides a cookie consent banner for Neos CMS and Neos Flow.

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

[](#installation)

Just run:

```
composer require neosrulez/neos-cookieconsent

```

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

[](#configuration)

### Neos Fusion

[](#neos-fusion)

#### The tags can look like this so that the cookie banner has an effect on them

[](#the-tags-can-look-like-this-so-that-the-cookie-banner-has-an-effect-on-them)

```

window.dataLayer = window.dataLayer || [];function gtag(){dataLayer.push(arguments);}gtag("js", new Date());gtag("config", "UA-123123123-30");
```

#### Override the fusion configuration

[](#override-the-fusion-configuration)

```
prototype(NeosRulez.Neos.CookieConsent:Component.DialogContent) {
    header = 'Cookies and external content'
    text = 'We use cookies on our website. Some of them are essential, while others help us to improve this website and your experience. External content is e.g. that of Google Maps, YouTube or Vimeo and these can improve the user experience.'
    additionalHeader = 'Cookies'
    settings = Neos.Fusion:DataStructure {
        bannerDelayTime = '1000'
        showDeclineButton = true
    }
    buttons = Neos.Fusion:DataStructure {
        settings = Neos.Fusion:DataStructure {
            label = 'Settings'
            additionalLabelText = 'Save Settings'
        }
        confirm = Neos.Fusion:DataStructure {
            label = 'Accept all cookies incl. US partners'
        }
        decline = Neos.Fusion:DataStructure {
            label = 'Reject all'
        }
    }
    links = Neos.Fusion:DataStructure {
        legalnotice = Neos.Fusion:DataStructure {
            label = 'Legal notice'
            href = '/legal-notice'
        }
        dataprivacy = Neos.Fusion:DataStructure {
            label = 'Data privacy'
            href = '/data-privacy'
        }
    }
    groups = Neos.Fusion:DataStructure {
        essential = Neos.Fusion:DataStructure {
            name = 'Essential'
            cookies = Neos.Fusion:DataStructure {
                # required!
                __cookie_consent = Neos.Fusion:DataStructure {
                    description = 'This cookie must be set in order to call up your cookie settings and to either prohibit or allow cookies.'
                    lifetime = '6 months'
                }
                # required!
            }
        }
    }
}

```

#### Override or extend the React package

[](#override-or-extend-the-react-package)

```
NeosRulez:
  Neos:
    CookieConsent:
      bundle:
        styles:
          - 'resource://NeosRulez.Neos.CookieConsent/Public/bundle/static/css/main.adc0658e.css'
        scripts:
          - 'resource://NeosRulez.Neos.CookieConsent/Public/bundle/static/js/main.ca2a187c.js'
```

Author
------

[](#author)

- E-Mail:
- URL:

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance41

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~1 days

Total

6

Last Release

487d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8604597e730303a1739fbb6a24bcf77019b22068e5d838ae4c12756e8121b488?d=identicon)[patriceckhart](/maintainers/patriceckhart)

---

Top Contributors

[![patriceckhart](https://avatars.githubusercontent.com/u/10776002?v=4)](https://github.com/patriceckhart "patriceckhart (8 commits)")

### Embed Badge

![Health badge](/badges/neosrulez-neos-cookieconsent/health.svg)

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

###  Alternatives

[neos/neos

An open source Content Application Platform based on Flow. A set of core Content Management features is resting within a larger context that allows you to build a perfectly customized experience for your users.

1131.0M736](/packages/neos-neos)[neos/fusion-form

Fusion Form

19755.7k40](/packages/neos-fusion-form)[neos/eel

The Embedded Expression Language (Eel) is a building block for creating Domain Specific Languages

122.1M32](/packages/neos-eel)[avency/neos-vardump

Neos VarDump Package

147.1k](/packages/avency-neos-vardump)

PHPackages © 2026

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