PHPackages                             civic/civiccookiecontrol - 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. civic/civiccookiecontrol

ActiveDrupal-custom-module[Utility &amp; Helpers](/categories/utility)

civic/civiccookiecontrol
========================

Civic - Cookie Control

8.x-dev(6y ago)0115[1 issues](https://github.com/danplaton4/Drupal-8-Civic-Cookie-Control/issues)GPL-2.0-or-laterPHPPHP &gt;=7.1

Since Mar 16Pushed 5y ago2 watchersCompare

[ Source](https://github.com/danplaton4/Drupal-8-Civic-Cookie-Control)[ Packagist](https://packagist.org/packages/civic/civiccookiecontrol)[ Docs](https://github.com/danplaton4/Drupal-8-Civic-Cookie-Control)[ RSS](/packages/civic-civiccookiecontrol/feed)WikiDiscussions 8.x Synced 1w ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Cookie control module for drupal.

=== Civic Cookie Control 8 === Contributors: aperperis, ralliaf Plugin Name: Civic Cookie Control 8 Widget URI: Author URI: Author: Civicuk License: GPLv2 or later License URI:

== Composer ==

`composer require 'civic/civiccookiecontrol'`

This module enables you to comply with the UK and EU law on cookies.

== Description ==

This Drupal plugin simplifies the implementation and customisation process of Cookie Control by [Civic UK](https://www.civicuk.com/).

With an elegant user-interface that doesn't hurt the look and feel of your site, Cookie Control is a mechanism for controlling user consent for the use of cookies on their computer.

There are several license types available, including:

**Community edition** - Provides all of the core functionality of Cookie Control, and is of course GDPR compliant. You can use it to test Cookie Control, or if you don't require any of its pro features.

**Pro edition** - Includes all of the pro features for use on a single website, priority support and updates during your subscription.

**Multisite Pro Edition** - Offers all of the pro features for use on up to ten websites, priority support and updates during your subscription.

**Pro edition** and **Multisite Pro Edition** support IAB (TCF v1.1).

To find out more about Cookie Control please visit [Civic's Cookie Control home page](https://www.civicuk.com/cookie-control).

**Please Note**:

You will need to obtain an API KEY from [Civic UK](https://www.civicuk.com/cookie-control/v8/download) in order to use the module.

Cookie Control is simply a mechanism to enable you to comply with UK and EU law on cookies. **You need to determine** which elements of your website are using cookies (this can be done via a [Cookie Audit](https://www.civicuk.com/cookie-control/deployment#audit), and ensure they are connected to Cookie Control.

== Installation ==

1. Obtain an API Key from [Civic UK](https://www.civicuk.com/cookie-control/v8/download) for the site that you wish to deploy Cookie Control.\*
2. Add the module in the corresponding Drupal folder.
3. Enable the module.
4. Run "drush updb" or update the database from update.php.
5. Configure the module from the 'Configuration-&gt;Civic Cookie Control 8' menu.
6. All done. Good job!

- If you already have an API Key and are wanting to update your domain records with CIVIC, please visit [Civic UK](https://www.civicuk.com/cookie-control/v8/download)

== Frequently Asked Questions ==

= API Key Error =

If you are using the free version your API key relates to a specific host domain.

So [www.mydomain.org](http://www.mydomain.org) might work, but mydomain.org (without the www) might not.

Be sure that you enter the correct host domain when registering for your API key.

The recommended way of avoiding this problem is to create a 301 redirect so all requests to mydomain.org get forwarded to [www.mydomain.org](http://www.mydomain.org)

This may have [SEO benefits](http://www.mattcutts.com/blog/seo-advice-url-canonicalization/) too as it makes it very clear to search engines which is the canonical (one true) domain.

= Is installing and configuring the plugin enough for compliance? =

Only if the only cookies your site uses are the Google Analytics ones. If other plugins set cookies, it is possible that you will need to write additional JavaScript. To determine what cookies your site uses do a a [Cookie Audit](https://www.civicuk.com/cookie-control/deployment#audit). You will need to do this in any case in order to have a compliant privacy policy. It is your responsibility as a webmaster to know what cookies your site sets, what they do and when they expire. If you don't you may need to consult whoever put your site together.

= I'm getting an error message Cookie Control isn't working? =

Support for Cookie Control is available via the forum: [https://groups.google.com/forum/#!forum/cookiecontrol](https://groups.google.com/forum/#!forum/cookiecontrol/) or open a support ticket in [Support](https://www.civicuk.com/support)

= Update from previous version =

Users with plugin version 8.x-1.0-rc1 (downloaded directly from civicuk.com website) should backup their data, delete the older plugin version and download the latest version from civicuk.com website. Then run "drush updb" or visit /update.php. Your data will remain intact, however you will have to re assign the third party cookies inside each cookie category and then save your settings. Users with version prior to 1.6 should review all settings and select values for newly created configuration options.

== Changelog == = 8.x-2.0-rc1 =

- Added alternative appearance styles for the notify bar's settings button.
- Added encodeCookie property to better support RFC standards and certain types of server processing.
- Added subDomains property to offer more flexibility on how user consent is recorded.
- IAB support (TCF v1.1)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 77.8% 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

Unknown

Total

1

Last Release

2254d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89d0cfaf99daa8764ec48c0aea9470106bcfdf0e28897fae92f6df4e3a482492?d=identicon)[danplaton4](/maintainers/danplaton4)

---

Top Contributors

[![danplaton4](https://avatars.githubusercontent.com/u/31653824?v=4)](https://github.com/danplaton4 "danplaton4 (7 commits)")[![fruitshakes](https://avatars.githubusercontent.com/u/5645729?v=4)](https://github.com/fruitshakes "fruitshakes (2 commits)")

### Embed Badge

![Health badge](/badges/civic-civiccookiecontrol/health.svg)

```
[![Health](https://phpackages.com/badges/civic-civiccookiecontrol/health.svg)](https://phpackages.com/packages/civic-civiccookiecontrol)
```

###  Alternatives

[php-cuong/magento2-faqs-extensions

Magento2 FAQ Extension Free

789.1k](/packages/php-cuong-magento2-faqs-extensions)[pixeloution/true-random

Interface for getting random datra from random.org

461.3k](/packages/pixeloution-true-random)

PHPackages © 2026

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