PHPackages                             cinghie/yii2-cookie-consent - 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. cinghie/yii2-cookie-consent

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

cinghie/yii2-cookie-consent
===========================

Yii2 Cookie Consent to alerting users about the use of cookies on your Yii2 website.

1.5.1(7y ago)1745.0k↑127.1%11[1 PRs](https://github.com/cinghie/yii2-cookie-consent/pulls)2BSD-3-ClausePHP

Since Jun 10Pushed 3y ago2 watchersCompare

[ Source](https://github.com/cinghie/yii2-cookie-consent)[ Packagist](https://packagist.org/packages/cinghie/yii2-cookie-consent)[ Docs](https://github.com/cinghie/yii2-cookie-consent)[ RSS](/packages/cinghie-yii2-cookie-consent/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (17)Used By (2)

Yii2 Cookie Consent
===================

[](#yii2-cookie-consent)

[![License](https://camo.githubusercontent.com/a3be3bf66bd52673770ec28c93dffe0fea3c36d87cd977f77b7f4adfbd21635f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)](https://camo.githubusercontent.com/a3be3bf66bd52673770ec28c93dffe0fea3c36d87cd977f77b7f4adfbd21635f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)[![Latest Stable Version](https://camo.githubusercontent.com/0307cfe74971d5552f4ebfd7d8061b3c05063c64d0b21cb417e0fa8c1d454ae9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)](https://camo.githubusercontent.com/0307cfe74971d5552f4ebfd7d8061b3c05063c64d0b21cb417e0fa8c1d454ae9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)[![Latest Release Date](https://camo.githubusercontent.com/483ec48a9270bd0ff492296aa94699cd931b28d9f17fa43e7b037431e42f3744/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)](https://camo.githubusercontent.com/483ec48a9270bd0ff492296aa94699cd931b28d9f17fa43e7b037431e42f3744/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652d646174652f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)[![Latest Commit](https://camo.githubusercontent.com/b0be0422028efce6cb883100378bf8c2eb845e218619620c555c38135f404071/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)](https://camo.githubusercontent.com/b0be0422028efce6cb883100378bf8c2eb845e218619620c555c38135f404071/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6173742d636f6d6d69742f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)[![Total Downloads](https://camo.githubusercontent.com/9a0edc2b50aa898cdbda875dca92f828db19383ca69faa48e2874ae21e16fd97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f63696e676869652f796969322d636f6f6b69652d636f6e73656e742e737667)](https://packagist.org/packages/cinghie/yii2-cookie-consent)

Yii2 Cookie Consent to alerting users about the use of cookies on your Yii2 website, using Cookie Consent Script:

Installation Using Composer
---------------------------

[](#installation-using-composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require cinghie/yii2-cookie-consent "^1.5.1"

```

or add in composer.json

```
"cinghie/yii2-cookie-consent": "^1.5.1"

```

Insert Widget
-------------

[](#insert-widget)

You can load the CookieConsent Widget like this:

```
use cinghie\cookieconsent\widgets\CookieWidget;

```

Theme Options
-------------

[](#theme-options)

- All Options at
- If you don't want a link for more info set learnMore to null

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 98.4% 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 ~83 days

Recently: every ~183 days

Total

16

Last Release

2786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cfedb99c8fcbaf668c4f9779d341997b84029673eda224241b11732981cbc8b2?d=identicon)[cinghie](/maintainers/cinghie)

---

Top Contributors

[![cinghie](https://avatars.githubusercontent.com/u/2445152?v=4)](https://github.com/cinghie "cinghie (61 commits)")[![mattheobjornson](https://avatars.githubusercontent.com/u/10802450?v=4)](https://github.com/mattheobjornson "mattheobjornson (1 commits)")

---

Tags

yii2yii2 cookieyii2 cookie lawyii2 cookie consentyii2 eu cookie consent

### Embed Badge

![Health badge](/badges/cinghie-yii2-cookie-consent/health.svg)

```
[![Health](https://phpackages.com/badges/cinghie-yii2-cookie-consent/health.svg)](https://phpackages.com/packages/cinghie-yii2-cookie-consent)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[imanilchaudhari/yii2-currency-converter

This extension will help to find out current currency conversion rate.

1911.7k](/packages/imanilchaudhari-yii2-currency-converter)

PHPackages © 2026

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