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

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

jcabanillas/yii2-cookie-consent
===============================

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

0137PHP

Since Jul 19Pushed 4y ago1 watchersCompare

[ Source](https://github.com/jcabanillas/yii2-cookie-consent)[ Packagist](https://packagist.org/packages/jcabanillas/yii2-cookie-consent)[ RSS](/packages/jcabanillas-yii2-cookie-consent/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#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 jcabanillas/yii2-cookie-consent "^1.5.0"

```

or add in composer.json

```
"jcabanillas/yii2-cookie-consent": "^1.5.0"

```

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

[](#insert-widget)

You can load the CookieConsent Widget like this:

```
use jcabanillas\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

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity29

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![jcabanillas](https://avatars.githubusercontent.com/u/9424899?v=4)](https://github.com/jcabanillas "jcabanillas (1 commits)")

### Embed Badge

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

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

###  Alternatives

[kim/activity

Easily retrieve a list of users and guests that are online.

12830.4k](/packages/kim-activity)[nahid/presento

Presento is a package for PHP data presenter

747.2k](/packages/nahid-presento)[kzykhys/text

Simple text manipulation library for PHP5.4

544.5k1](/packages/kzykhys-text)

PHPackages © 2026

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