PHPackages                             ride/wba-gdprcookie - 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. ride/wba-gdprcookie

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ride/wba-gdprcookie
===================

GDPR cookie warning and modal for EU

2.4.1(1y ago)01.5kMITJavaScript

Since May 15Pushed 1y ago9 watchersCompare

[ Source](https://github.com/all-ride/ride-wba-gdprcookie)[ Packagist](https://packagist.org/packages/ride/wba-gdprcookie)[ RSS](/packages/ride-wba-gdprcookie/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (30)Used By (0)

Ride: GDRP Cookie notice &amp; modal
====================================

[](#ride-gdrp-cookie-notice--modal)

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

[](#installation)

You can use [Composer](http://getcomposer.org) to install this application.

```
composer require ride/wba-gdprcookie

```

Usage
-----

[](#usage)

The module includes a script &amp; styling for a cookie banner and a modal where the visitor can select his/her cookie preferences.

You need to include the following snippet in your `base/index.tpl`. Right underneath the `content_body` block

```

{if isset($gdprTemplate)}
    {$gdprTemplate}
{/if}

```

Add the link to the settings on your page.

```
{'cookies.settings_title'|translate}

```

In your `parameters.json` you set the url to your cookie policy page. This has to be done per language. eg.

`cookies.policy\_url.nl =&gt; ''

`cookies.policy_url.en` =&gt; ''

`cookies.policy_url.fr` =&gt; ''

If there is only one language present you can just set

`cookies.policy_url` =&gt; ''

### Don't forget to add your cookie policy page to the ignored paths

[](#dont-forget-to-add-your-cookie-policy-page-to-the-ignored-paths)

You don't want the modal to pop up on your policy page. So in your `parameters.json` add: `"cookies.ignored_paths": "/en/cookie-policy"`

Always use the **relative url**.

If you want to add more ignored paths for let's say multisites, use the ignored paths as in the example below.

Cookie settings can be altered in parameters too:

```
  "cookies.cookie_key": "__cookie_consent",
  "cookies.cookie_value_analytics": "2",
  "cookies.cookie_value_marketing": "3",
  "cookies.cookie_value_both": "true",
  "cookies.cookie_value_none": "false",
  "cookies.cookie_expiration_days": "365",
  "cookies.gtm_event": "cookie_refresh",
  "cookies.ignored_paths.0": "",
  "cookies.ignored_paths.1": "",
  "cookies.custom_style": false

```

UPDATING FROM 2.2.0 TO 2.3.0
----------------------------

[](#updating-from-220-to-230)

Translations have changes in this update. If you overwrite some in your own project, be sure to check if they are up to date.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity74

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

Recently: every ~316 days

Total

27

Last Release

649d ago

Major Versions

1.0.4 → 2.0.02020-01-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d98d3f0d5db5eb241c6ee74bcee87d1e7dc1aaf7942b933d68e612ee2352eea?d=identicon)[ride-user](/maintainers/ride-user)

---

Top Contributors

[![kristofser](https://avatars.githubusercontent.com/u/5928907?v=4)](https://github.com/kristofser "kristofser (54 commits)")[![janhenckens](https://avatars.githubusercontent.com/u/755428?v=4)](https://github.com/janhenckens "janhenckens (28 commits)")[![stijnelskens](https://avatars.githubusercontent.com/u/12715277?v=4)](https://github.com/stijnelskens "stijnelskens (10 commits)")[![dduupp](https://avatars.githubusercontent.com/u/10728938?v=4)](https://github.com/dduupp "dduupp (3 commits)")[![AurelDemiri](https://avatars.githubusercontent.com/u/30560661?v=4)](https://github.com/AurelDemiri "AurelDemiri (2 commits)")[![brmajan](https://avatars.githubusercontent.com/u/22048608?v=4)](https://github.com/brmajan "brmajan (1 commits)")[![bartverbruggen](https://avatars.githubusercontent.com/u/146232?v=4)](https://github.com/bartverbruggen "bartverbruggen (1 commits)")

### Embed Badge

![Health badge](/badges/ride-wba-gdprcookie/health.svg)

```
[![Health](https://phpackages.com/badges/ride-wba-gdprcookie/health.svg)](https://phpackages.com/packages/ride-wba-gdprcookie)
```

PHPackages © 2026

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