Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.63 KB

README.md

File metadata and controls

51 lines (39 loc) · 1.63 KB

dynamikaweb/yii2-cookieconsent-widget

php version pkg version license quality build

Documentation

Installation

The preferred way to install this extension is through composer.

Either run

$ composer require dynamikaweb/yii2-cookieconsent-widget "*"

or add

"dynamikaweb/yii2-cookieconsent-widget": "*"

to the require section of your composer.json file.

Usage

use dynamikaweb\cookieconsent\CookieConsent;

echo CookieConsent::widget([
  'assetType' => CookieConsent::ASSET_TYPE_CDN,
  'pluginOptions' => [
      # see examples: https://www.osano.com/cookieconsent/documentation/javascript-api
  ]
]);

dynamika soluções web This project is under BSD-3-Clause license.