PHPackages                             xanweb/c5-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. xanweb/c5-js-cookie

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

xanweb/c5-js-cookie
===================

Integrate JavaScript Cookie API in Concrete5 Assets System

v3.0.0(4y ago)0434[6 PRs](https://github.com/Xanweb/c5-js-cookie/pulls)MITPHP

Since Feb 26Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Xanweb/c5-js-cookie)[ Packagist](https://packagist.org/packages/xanweb/c5-js-cookie)[ RSS](/packages/xanweb-c5-js-cookie/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (14)Used By (0)

C5 JavaScript Cookie
====================

[](#c5-javascript-cookie)

Integrate JavaScript Cookie API in [Concrete5](https://github.com/concrete5/concrete5) Assets System.

Official Source
---------------

[](#official-source)

####

[](#httpsgithubcomjs-cookiejs-cookie)

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

[](#installation)

Include library to your composer.json

```
composer require xanweb/c5-js-cookie
```

Usage
-----

[](#usage)

```
    $g = \Concrete\Core\Http\ResponseAssetGroup::get();
    $g->requireAsset('vendor-javascript', 'js-cookie');
```

Or like in Block Controller

```
    public function registerViewAssets($outputContent = '')
    {
        $this->requireAsset('vendor-javascript', 'js-cookie');
    }
```

Issues
------

[](#issues)

If you have any issue regarding the JavaScript Cookie API please use [JavaScript Cookie Issues Tracker](https://github.com/js-cookie/js-cookie/issues).

License
-------

[](#license)

The C5 JavaScript Cookie is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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.

###  Release Activity

Cadence

Every ~109 days

Recently: every ~136 days

Total

6

Last Release

1715d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/959a0385bef775f2a7cef6afce381614338a6a633f4d66903b454323221cfcdc?d=identicon)[HamedDarragi](/maintainers/HamedDarragi)

![](https://www.gravatar.com/avatar/1dd53993230808592bc8c88ff7027bfc943ba836ce7ef3d558ad64347ade7f49?d=identicon)[rii-J](/maintainers/rii-J)

---

Top Contributors

[![HamedDarragi](https://avatars.githubusercontent.com/u/13836863?v=4)](https://github.com/HamedDarragi "HamedDarragi (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

concrete5cookieassetsconcrete5-v8

### Embed Badge

![Health badge](/badges/xanweb-c5-js-cookie/health.svg)

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

###  Alternatives

[kriswallsmith/assetic

Asset Management for PHP

3.7k48.9M160](/packages/kriswallsmith-assetic)[spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

1.5k4.7M20](/packages/spatie-laravel-cookie-consent)[markstory/asset_compress

An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification.

3761.0M11](/packages/markstory-asset-compress)[stolz/assets

An ultra-simple-to-use assets management library

296519.2k8](/packages/stolz-assets)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

202832.4k6](/packages/backpack-basset)[statikbe/laravel-cookie-consent

Cookie consent modal for EU

213396.7k](/packages/statikbe-laravel-cookie-consent)

PHPackages © 2026

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