PHPackages                             lundco/silverstripe-gdpr-cookies - 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. lundco/silverstripe-gdpr-cookies

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

lundco/silverstripe-gdpr-cookies
================================

Control which cookies/services gets loaded when user enters website, to make it GDPR compliant

3.1.10(6y ago)56224[2 issues](https://github.com/lundco/silverstripe-gdpr-cookies/issues)[6 PRs](https://github.com/lundco/silverstripe-gdpr-cookies/pulls)MITPHP

Since May 22Pushed 2y agoCompare

[ Source](https://github.com/lundco/silverstripe-gdpr-cookies)[ Packagist](https://packagist.org/packages/lundco/silverstripe-gdpr-cookies)[ RSS](/packages/lundco-silverstripe-gdpr-cookies/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (51)Used By (0)

Silverstripe GDPR Cookies
=========================

[](#silverstripe-gdpr-cookies)

[![Latest Stable Version](https://camo.githubusercontent.com/734808b3e65cf6dcb37fe18fcf29020778db774ca1638b96b3b411ff11771ba5/68747470733a2f2f706f7365722e707567782e6f72672f6c756e64636f2f73696c7665727374726970652d676470722d636f6f6b6965732f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/lundco/silverstripe-gdpr-cookies)[![License](https://camo.githubusercontent.com/5aecb3409ee01146a9bca84851adac78f98f1b2b60f3b35d5064bbf8802b3637/68747470733a2f2f706f7365722e707567782e6f72672f6c756e64636f2f73696c7665727374726970652d676470722d636f6f6b6965732f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/lundco/silverstripe-gdpr-cookies)

Silverstripe GDPR Cookies is a module which enables you to controle which cookies and external services should be loaded into the webpage, and gives to website visitor control over what they want to be loaded to make the website GDPR compliant.

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

[](#installation)

`composer require lundco/silverstripe-gdpr-cookies`

Alternatively simply download the zip file from github. After installation run dev/build?flush=1 on your project.

Display cookiemessage &amp; privacycenter
-----------------------------------------

[](#display-cookiemessage--privacycenter)

To display cookiemessage include `$CookiePopup` on your .ss base template (Page.ss)

Requirements
------------

[](#requirements)

- Silverstripe CMS ^4.0

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

[](#configuration)

The configuration of the module is done using the config.yml.

### Setting google tag manager id

[](#setting-google-tag-manager-id)

To set the Google tag manager id use `TagID`

### Setting cookie list

[](#setting-cookie-list)

The cookies are divided into 4 different types

- Strictly (Like use login cookies)
- Performance (Like Google Analytics)
- Technical (Like Drift)
- Targeting (Like AdWords, Facebook pixel etc.)

So when done your config.yml should have something like this, where Cookiename is the name of the cookie, like Google Analytics:

```
PrivacyCenter:
  TagID:
    - 'GTM-XXXXXXX'
  StrictlyCookies:
    - 'Session cookies'
  PerformanceCookies:
    - 'Google Analytics'
  TechnicalCookies:
    - 'Interkom'
  TargetingCookies:
    - 'Facebook Pixel'
    - 'Google AdWords'

```

### Setting up Google Tag Manager

[](#setting-up-google-tag-manager)

COMMING

Translations
------------

[](#translations)

The plugin will be delivered with english as base language and a danish language file. If you create additional language files please feel free to share them with us. We will be happy to include them in the repository.

Todo
----

[](#todo)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance12

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity76

Established project with proven stability

 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 ~12 days

Recently: every ~54 days

Total

44

Last Release

2396d ago

Major Versions

1.6.4 → 3.1.42019-03-14

1.6.5 → 3.1.52019-03-15

1.6.6 → 3.1.62019-03-15

1.6.7 → 3.1.72019-03-19

1.6.8 → 3.1.102019-06-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/def5e7646226b2caed7a8b33f1ec432d631b4eec51ae0d6947fc317ec4e82380?d=identicon)[Nobrainer Web](/maintainers/Nobrainer%20Web)

---

Top Contributors

[![sanderha](https://avatars.githubusercontent.com/u/6941043?v=4)](https://github.com/sanderha "sanderha (2 commits)")

---

Tags

gdprgdpr-cookiesilverstripesilverstripe-3silverstripe-modulesilverstripecookiesgdprcompliant

### Embed Badge

![Health badge](/badges/lundco-silverstripe-gdpr-cookies/health.svg)

```
[![Health](https://phpackages.com/badges/lundco-silverstripe-gdpr-cookies/health.svg)](https://phpackages.com/packages/lundco-silverstripe-gdpr-cookies)
```

###  Alternatives

[whitecube/laravel-cookie-consent

Register, configure and ask for cookies consent in a EU-compliant way.

489563.9k1](/packages/whitecube-laravel-cookie-consent)[scify/laravel-cookie-guard

A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories

13714.3k](/packages/scify-laravel-cookie-guard)[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)
