PHPackages                             comodojo/cookies - 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. comodojo/cookies

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

comodojo/cookies
================

Minimalist and extensible library to manage cookies

2.0.0(7y ago)212.2k1[1 PRs](https://github.com/comodojo/cookies/pulls)1MITPHPPHP &gt;=5.4

Since Nov 25Pushed 2y ago3 watchersCompare

[ Source](https://github.com/comodojo/cookies)[ Packagist](https://packagist.org/packages/comodojo/cookies)[ Docs](https://comodojo.org)[ RSS](/packages/comodojo-cookies/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (4)Versions (11)Used By (1)

comodojo/cookies
================

[](#comodojocookies)

[![Build Status](https://github.com/comodojo/cookies/workflows/build/badge.svg?branch=master)](https://github.com/comodojo/cookies/workflows/build/badge.svg?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/5016b3d314a08846ccb6a3b1e2fc7df16f8e157b44b52cff52ab2cd6b6b73712/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f636f6f6b6965732f762f737461626c65)](https://packagist.org/packages/comodojo/cookies) [![Total Downloads](https://camo.githubusercontent.com/6780bbb26f07b12cc4834fd4629684d2685ba5ba29fd3cf3c1cebbd2e10c2a56/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f636f6f6b6965732f646f776e6c6f616473)](https://packagist.org/packages/comodojo/cookies) [![Latest Unstable Version](https://camo.githubusercontent.com/29e1c9367d21a01541c74c4ac393ab7b15aa1e77422dd96e68de0b6540abb9fa/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f636f6f6b6965732f762f756e737461626c65)](https://packagist.org/packages/comodojo/cookies) [![License](https://camo.githubusercontent.com/3059b3d3edad1410e0ddb6db463c101c9e52d1ae18be32da3befd42a22c3453a/68747470733a2f2f706f7365722e707567782e6f72672f636f6d6f646f6a6f2f636f6f6b6965732f6c6963656e7365)](https://packagist.org/packages/comodojo/cookies) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/323768f3e838a693635d40b0af58b517826d6bd9cb1e8e1fa292b4dc0f13f9f0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6d6f646f6a6f2f636f6f6b6965732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/comodojo/cookies/?branch=master) [![Code Coverage](https://camo.githubusercontent.com/98f219bac0fdb181ff12151efd4d024fea5b6adc60be2fc2ba79196cfa74836f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f636f6d6f646f6a6f2f636f6f6b6965732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/comodojo/cookies/?branch=master) [![Quality Gate Status](https://camo.githubusercontent.com/b727cc5986369ae468fa70288a4c5b59ef262c857dc425b1e5d8405345aa7784/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636f6d6f646f6a6f5f636f6f6b696573266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=comodojo_cookies) [![Reliability Rating](https://camo.githubusercontent.com/9797e6f04bd047b94b36c8d93dfcf58105e8009243ca7c2d90d76ce65602c224/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d636f6d6f646f6a6f5f636f6f6b696573266d65747269633d72656c696162696c6974795f726174696e67)](https://sonarcloud.io/dashboard?id=comodojo_cookies)

Minimalist and extensible library to manage cookies

***This is the development branch, please do not use it in production***

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

[](#installation)

Install [composer](https://getcomposer.org/), then:

`composer require comodojo/cookies`

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

[](#documentation)

- Docs (wip): [docs.comodojo.org/projects/cookies](https://docs.comodojo.org/projects/cookies/en/latest)
- API: [api.comodojo.org/libs/cookies](https://api.comodojo.org/libs/cookies)

Contributing
------------

[](#contributing)

Contributions are welcome and will be fully credited. Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

`comodojo/cookies` is released under the MIT License (MIT). Please see [License File](LICENSE) for more information.

> Copyright (c) 2021 Marco Giovinazzi
>
> For more information, visit [comodojo.org](https://comodojo.org).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~318 days

Recently: every ~334 days

Total

9

Last Release

1635d ago

Major Versions

0.1.0 → 1.0.02015-05-20

1.1.x-dev → 2.0.0-beta2018-03-21

2.0.x-dev → 3.0.x-dev2021-11-16

PHP version history (3 changes)0.1.0PHP &gt;=5.3.0

2.0.0-betaPHP &gt;=5.4

3.0.x-devPHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cc933c2d1b92f7fd32abb459387bff69fc8a87158b1474171ccf26139904706?d=identicon)[comodojo](/maintainers/comodojo)

---

Top Contributors

[![marcogiovinazzi](https://avatars.githubusercontent.com/u/12754673?v=4)](https://github.com/marcogiovinazzi "marcogiovinazzi (28 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

aescookiescookiecomodojo

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/comodojo-cookies/health.svg)

```
[![Health](https://phpackages.com/badges/comodojo-cookies/health.svg)](https://phpackages.com/packages/comodojo-cookies)
```

###  Alternatives

[spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

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

Register, configure and ask for cookies consent in a EU-compliant way.

489563.9k1](/packages/whitecube-laravel-cookie-consent)[statikbe/laravel-cookie-consent

Cookie consent modal for EU

213396.7k](/packages/statikbe-laravel-cookie-consent)[oveleon/contao-cookiebar

Contao Cookiebar

63124.1k6](/packages/oveleon-contao-cookiebar)[dirkpersky/typo3-dp_cookieconsent

Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)

36201.3k1](/packages/dirkpersky-typo3-dp-cookieconsent)[scify/laravel-cookie-guard

A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories

13714.3k](/packages/scify-laravel-cookie-guard)

PHPackages © 2026

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