PHPackages                             citysites/yii2-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. citysites/yii2-cookieconsent

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

citysites/yii2-cookieconsent
============================

Yii2 wrap for https://github.com/osano/cookieconsent

v1.1(4y ago)09.5k↓100%BSD-3-ClausePHPPHP &gt;=7.2

Since Oct 13Pushed 4y ago5 watchersCompare

[ Source](https://github.com/citysites/yii2-cookieconsent)[ Packagist](https://packagist.org/packages/citysites/yii2-cookieconsent)[ RSS](/packages/citysites-yii2-cookieconsent/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (2)Versions (4)Used By (0)

Yii2 wrap for
======================================================

[](#yii2-wrap-for-httpsgithubcomosanocookieconsent)

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

[](#documentation)

All documantation about cookieconsent you can find [here](https://cookieconsent.osano.com/documentation/about-cookie-consent/)

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

[](#installation)

### Composer

[](#composer)

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

Either run `composer require citysites/yii2-cookieconsent "dev-master"`

or add `"citysites/yii2-cookieconsent": "dev-master"` to the require section of your `composer.json`

Usage
-----

[](#usage)

```
use \citysites\widgets\CookieConsent;
...
echo CookieConsent::widget();
```

###  Health Score

27

—

LowBetter than 51% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.9% 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 ~0 days

Total

2

Last Release

1616d ago

### Community

Maintainers

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

---

Top Contributors

[![miketsoft](https://avatars.githubusercontent.com/u/19492732?v=4)](https://github.com/miketsoft "miketsoft (9 commits)")[![nikosid](https://avatars.githubusercontent.com/u/1609434?v=4)](https://github.com/nikosid "nikosid (6 commits)")[![xxcarleonexx](https://avatars.githubusercontent.com/u/12188919?v=4)](https://github.com/xxcarleonexx "xxcarleonexx (2 commits)")

---

Tags

yii2assetcookieconsent

### Embed Badge

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

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

###  Alternatives

[nizsheanez/yii2-asset-converter

Less, Sass, Scss and Phamlp converter for Yii2. No system requires. yii2-composer support, Less autoupdate, customizing of output directory

64166.3k6](/packages/nizsheanez-yii2-asset-converter)

PHPackages © 2026

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