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

ActiveYii2-extension

easyrider7522/yii2-cookieconsent
================================

Implementation of Cookie Consent v3 cookie usage warner as Yii2 widget

1.0.0-alpha.6(8y ago)03.0k↓100%MITPHP

Since Feb 12Pushed 8y ago1 watchersCompare

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

READMEChangelog (6)Dependencies (2)Versions (6)Used By (0)

yii2-cookieconsent
==================

[](#yii2-cookieconsent)

Implementation of Cookie Consent v3 cookie usage warner as Yii2 widget

Thanks to [insites](https://cookieconsent.insites.com/)

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

[](#installation)

### Composer

[](#composer)

```
composer require easyrider7522/yii2-cookieconsent "@alpha"
```

or manually add to the `required` section of your project's `composer.json`

```
"easyrider7522/yii2-cookieconsent": "@alpha"
```

and run `composer update` shell command

Since it's a pre-release (currently in alpha state) stability flag `@alpha` must be used with the package (as you can see above) in order to be able to install it without changing `minimum-stability` property of the `composer.json`, which is global for your whole project.

Usage
-----

[](#usage)

As any Yii2 widget, in desired view or layout file as follows:

```
