2017 © Pedro Peláez
 

yii2-extension yii2-cookie-consent

Yii2 Cookie Consent

image

hiqdev/yii2-cookie-consent

Yii2 Cookie Consent

  • Friday, October 13, 2017
  • by hiqdev
  • Repository
  • 3 Watchers
  • 3 Stars
  • 51 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 59 % Grown

The README.md

Yii2 Cookie Consent

Latest Stable Version Total Downloads Build Status Scrutinizer Code Coverage Scrutinizer Code Quality, (*1)

Provides really easy alerting users about the use of cookies on your site., (*2)

Cookie consent is required to comply with the EU Cookie Law., (*3)

Additionally it detects if cookie is disabled in user's browser and redirects user to predefined page., (*4)

Works by adding Behavior to the Application View. Behavior listens to EVENT_END_BODY and echos the consent script., (*5)

Installation

The preferred way to install this yii2-extension is through composer., (*6)

Either run, (*7)

php composer.phar require "hiqdev/yii2-cookie-consent"

or add, (*8)

"hiqdev/yii2-cookie-consent": "*"

to the require section of your composer.json., (*9)

Configuration

This extension is supposed to be used with composer-config-plugin., (*10)

Else look src/config/web.php for cofiguration example., (*11)

Available configuration parameters:, (*12)

  • cookieConsent.disabled
  • cookieConsent.params
    • message - message to be shown
    • dismiss
    • theme
    • more
    • moreLink
    • failUrl - url user will be redirected when cookies are disabled

For more details please see src/config/params.php., (*13)

License

This project is released under the terms of the BSD-3-Clause license. Read more here., (*14)

Copyright © 2017, HiQDev (http://hiqdev.com/), (*15)

Acknowledgements

  • https://github.com/insites/cookieconsent
  • https://github.com/cinghie/yii2-cookie-consent

The Versions

13/10 2017

dev-master

9999999-dev https://github.com/hiqdev/yii2-cookie-consent

Yii2 Cookie Consent

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

plugin yii2 cookie consent