PHPackages                             citysites/yii2-js-cookie - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. citysites/yii2-js-cookie

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

citysites/yii2-js-cookie
========================

Yii2 asset for https://github.com/js-cookie/js-cookie

09.1k↓100%PHP

Since Oct 4Pushed 6y ago4 watchersCompare

[ Source](https://github.com/citysites/yii2-js-cookie)[ Packagist](https://packagist.org/packages/citysites/yii2-js-cookie)[ RSS](/packages/citysites-yii2-js-cookie/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2 asset for
=======================================================

[](#yii2-asset-for-httpsgithubcomjs-cookiejs-cookie)

Documentation
-------------

[](#documentation)

All documantation about js-cookie you can find [here](https://github.com/js-cookie/js-cookie)

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

[](#installation)

### Composer

[](#composer)

The preferred way to install this extension is through [Composer](http://getcomposer.org/).

Either run `composer require citysites/yii2-js-cookie "dev-master"`

or add `"citysites/yii2-js-cookie": "dev-master"` to the require section of your `composer.json`

Usage
-----

[](#usage)

```
use \citysites\assets\JsCookieAsset;
AppAsset::register($this);// $this represents the view object
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dc08440671c9c8b7a5edb245211a7f33118181500e3c19601625b3af1df62816?d=identicon)[citysites](/maintainers/citysites)

---

Top Contributors

[![nikosid](https://avatars.githubusercontent.com/u/1609434?v=4)](https://github.com/nikosid "nikosid (7 commits)")

### Embed Badge

![Health badge](/badges/citysites-yii2-js-cookie/health.svg)

```
[![Health](https://phpackages.com/badges/citysites-yii2-js-cookie/health.svg)](https://phpackages.com/packages/citysites-yii2-js-cookie)
```

###  Alternatives

[imanghafoori/laravel-video

A laravel package to stream video content.

28355.5k](/packages/imanghafoori-laravel-video)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
