golles/yii2-cookie-message

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (1.0.0) of this package.

This widget will show a cookie warning that is required due to an European law

1.0.0 2015-10-02 22:39 UTC

This package is not auto-updated.

Last update: 2021-09-04 01:10:38 UTC


README

This widget will show a cookie warning that is required due to an European law. Based on this idea: https://github.com/bizley-code/yii2-cookiemonster

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist golles/yii2-cookie-message "*"

or add

"golles/yii2-cookie-message": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php
    echo \golles\cookiemessage\CookieMessage::widget([
        'moreInfoLink' => ['/page/cookies'],
    ]);
?>