2017 © Pedro Peláez
 

yii-extension yii2-js-cookie

Asset Bundle for Yii2 with JavaScript Cookie.

image

webtoucher/yii2-js-cookie

Asset Bundle for Yii2 with JavaScript Cookie.

  • Monday, March 14, 2016
  • by webtoucher
  • Repository
  • 1 Watchers
  • 1 Stars
  • 2,043 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 24 % Grown

The README.md

yii2-js-cookie

This extension provides an assets bundle with JavaScript Cookie for Yii framework 2.0 applications., (*1)

Latest Stable Version Total Downloads Daily Downloads Latest Unstable Version License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

$ php composer.phar require webtoucher/yii2-js-cookie "*"

or add, (*5)

"webtoucher/yii2-js-cookie": "*"

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

Usage

In view, (*7)

webtoucher\cookie\AssetBundle::register($this);

or as dependency in your main application asset bundle, (*8)

class AppAsset extends AssetBundle
{
    // ...

    public $depends = [
        // ...
        '\webtoucher\cookie\AssetBundle'
    ];
}

Then you can use Cookies in your scripts. Please read project documentation for more information., (*9)

The Versions

14/03 2016

dev-master

9999999-dev https://github.com/webtoucher/yii2-js-cookie

Asset Bundle for Yii2 with JavaScript Cookie.

  Sources   Download

BSD-3-Clause

The Requires

 

by Alexey Kuznetsov

extension yii

14/03 2016

1.0.0

1.0.0.0 https://github.com/webtoucher/yii2-js-cookie

Asset Bundle for Yii2 with JavaScript Cookie.

  Sources   Download

BSD-3-Clause

The Requires

 

by Alexey Kuznetsov

extension yii