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

ActiveComponent

wheregroup/cookieconsent
========================

A free solution to the EU Cookie Law https://cookieconsent.insites.com/

3.0.6.2(6y ago)013.1k↓45%MITJavaScript

Since May 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/WhereGroup/cookieconsent)[ Packagist](https://packagist.org/packages/wheregroup/cookieconsent)[ RSS](/packages/wheregroup-cookieconsent/feed)WikiDiscussions master Synced 1mo ago

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

[![Build Status](https://camo.githubusercontent.com/e6443d685ea9b1847d42855d63aaaeba1dd67d98bd59fd72d5afc1fce48fdb29/68747470733a2f2f7472617669732d63692e6f72672f696e73697465732f636f6f6b6965636f6e73656e742e737667)](https://travis-ci.org/insites/cookieconsent)

What is Cookie Consent?
-----------------------

[](#what-is-cookie-consent)

[Cookie Consent](https://cookieconsent.insites.com/) is a lightweight JavaScript plugin for alerting users about the use of cookies on your website.

It is designed to help you comply with the hideous EU Cookie Law and not make you want to kill yourself in the process. So we made it fast, free, and relatively painless.

Version 3.0
-----------

[](#version-30)

Version 3.0 is a complete rewrite from version 2. The most substantial new features are:

- the ability to GeoLocate and only show the addon to people in the relevant countries
- callback hooks for showing/accepting/revoking the banner
- support for different types of compliance, giving you the flexibility to obey even the strictest cookie laws
- easy no-fuss themes and customisable styles

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

[](#installation)

The easiest way to get up and running is to use our [wizard](https://cookieconsent.insites.com/download/).

You can also install this project through [npm](https://www.npmjs.com/):

```
npm install cookieconsent
```

Or through [Bower](https://bower.io/):

```
bower install cookieconsent
```

Documentation
-------------

[](#documentation)

See our [full documentation](https://cookieconsent.insites.com/documentation/).

Contributing
------------

[](#contributing)

Feel free to improve the plugin and send us a pull request.

The easiest way to develop is to host the files with a local webserver. e.g.

```
python -m SimpleHTTPServer
```

We use Gulp to compile the SCSS and minify the JavaScript. You can run a build with:

```
gulp build
```

License
-------

[](#license)

Code released under the [MIT licence](http://opensource.org/licenses/MIT).

Credits
-------

[](#credits)

Cookie Consent v3

- Alex Morley-Finch - JavaScript
- Piiu Pilt - JavaScript
- Oliver Emberton (@oliveremberton) - a couple of lines of CSS, maybe

Cookie Consent v2

- David Ball (@drball) - CSS / themes
- Adam Hutchinson (@adjohu) - JavaScript

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

2376d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0154eb5bdfa738d2bbc95bb345ba5f971d9395a2318f8724e42fa3bd384ae9c2?d=identicon)[LazerTiberius](/maintainers/LazerTiberius)

---

Top Contributors

[![alexmorleyfinch](https://avatars.githubusercontent.com/u/3381364?v=4)](https://github.com/alexmorleyfinch "alexmorleyfinch (188 commits)")[![piiupilt](https://avatars.githubusercontent.com/u/21039211?v=4)](https://github.com/piiupilt "piiupilt (66 commits)")[![adjohu](https://avatars.githubusercontent.com/u/655857?v=4)](https://github.com/adjohu "adjohu (64 commits)")[![oliveremberton](https://avatars.githubusercontent.com/u/4114396?v=4)](https://github.com/oliveremberton "oliveremberton (21 commits)")[![dochne](https://avatars.githubusercontent.com/u/1678803?v=4)](https://github.com/dochne "dochne (18 commits)")[![DavidPatzke](https://avatars.githubusercontent.com/u/5700151?v=4)](https://github.com/DavidPatzke "DavidPatzke (5 commits)")[![mamico](https://avatars.githubusercontent.com/u/182599?v=4)](https://github.com/mamico "mamico (3 commits)")[![JonnyBGod](https://avatars.githubusercontent.com/u/405206?v=4)](https://github.com/JonnyBGod "JonnyBGod (2 commits)")[![drball](https://avatars.githubusercontent.com/u/5682340?v=4)](https://github.com/drball "drball (2 commits)")[![szekeresa](https://avatars.githubusercontent.com/u/5613074?v=4)](https://github.com/szekeresa "szekeresa (1 commits)")[![TehTux](https://avatars.githubusercontent.com/u/5694383?v=4)](https://github.com/TehTux "TehTux (1 commits)")[![vintagesucks](https://avatars.githubusercontent.com/u/13335308?v=4)](https://github.com/vintagesucks "vintagesucks (1 commits)")[![werrolf](https://avatars.githubusercontent.com/u/24895932?v=4)](https://github.com/werrolf "werrolf (1 commits)")[![andywaite](https://avatars.githubusercontent.com/u/6773151?v=4)](https://github.com/andywaite "andywaite (1 commits)")[![arnaudlimbourg](https://avatars.githubusercontent.com/u/53919?v=4)](https://github.com/arnaudlimbourg "arnaudlimbourg (1 commits)")[![DavidReinberger](https://avatars.githubusercontent.com/u/3901054?v=4)](https://github.com/DavidReinberger "DavidReinberger (1 commits)")[![jdeveloper](https://avatars.githubusercontent.com/u/8874?v=4)](https://github.com/jdeveloper "jdeveloper (1 commits)")[![kant](https://avatars.githubusercontent.com/u/32717?v=4)](https://github.com/kant "kant (1 commits)")[![leepercox](https://avatars.githubusercontent.com/u/6492146?v=4)](https://github.com/leepercox "leepercox (1 commits)")[![lmarcon](https://avatars.githubusercontent.com/u/3500986?v=4)](https://github.com/lmarcon "lmarcon (1 commits)")

### Embed Badge

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

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

###  Alternatives

[fullcalendar/fullcalendar

Full-sized drag &amp; drop event calendar

20.4k373.3k4](/packages/fullcalendar-fullcalendar)[eternicode/bootstrap-datepicker

A datepicker for Bootstrap

12.7k543.8k6](/packages/eternicode-bootstrap-datepicker)[eonasdan/bootstrap-datetimepicker

Date/time picker widget based on twitter bootstrap

7.2k492.4k9](/packages/eonasdan-bootstrap-datetimepicker)[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[imsky/holder

Client-side image placeholders.

5.8k20.5k2](/packages/imsky-holder)[trentrichardson/jquery-timepicker-addon

Adds a timepicker to jQueryUI Datepicker.

2.6k70.2k](/packages/trentrichardson-jquery-timepicker-addon)

PHPackages © 2026

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