PHPackages                             zaphyr-org/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. zaphyr-org/cookie

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

zaphyr-org/cookie
=================

Small repository for handling cookies.

1.0.2(1y ago)02.0k—6.6%1MITPHPPHP &gt;=8.1CI passing

Since Sep 22Pushed 3mo ago1 watchersCompare

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

READMEChangelog (3)Dependencies (4)Versions (4)Used By (1)

[![License](https://camo.githubusercontent.com/7ede9c40b91a96de06ff5b60f7f5a3664b09188f68cc2bdee6fd5cc99f2e26fb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7a61706879722d6f72672f636f6f6b6965)](https://camo.githubusercontent.com/7ede9c40b91a96de06ff5b60f7f5a3664b09188f68cc2bdee6fd5cc99f2e26fb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7a61706879722d6f72672f636f6f6b6965)[![Version](https://camo.githubusercontent.com/d080dbe81587bdc534acb153a458bd7b23dc164449d2d782489bb2831978005b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61706879722d6f72672f636f6f6b6965)](https://camo.githubusercontent.com/d080dbe81587bdc534acb153a458bd7b23dc164449d2d782489bb2831978005b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a61706879722d6f72672f636f6f6b6965)[![Issues](https://camo.githubusercontent.com/892e99043e8645f04d69398c762373f598b5af99a2cfdddd2d7332e79a565e0c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a61706879722d6f72672f636f6f6b6965)](https://camo.githubusercontent.com/892e99043e8645f04d69398c762373f598b5af99a2cfdddd2d7332e79a565e0c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f7a61706879722d6f72672f636f6f6b6965)[![Tests](https://github.com/zaphyr-org/cookie/actions/workflows/tests.yml/badge.svg)](https://github.com/zaphyr-org/cookie/actions/workflows/tests.yml/badge.svg)[![Codecov](https://camo.githubusercontent.com/8e1aff980e7048f48ea4678cc7385fe6f029b3d113bf2399302526c3403d12d6/68747470733a2f2f636f6465636f762e696f2f67682f7a61706879722d6f72672f636f6f6b69652f67726170682f62616467652e7376673f746f6b656e3d3253545034304b433731)](https://codecov.io/gh/zaphyr-org/cookie)

Cookie
======

[](#cookie)

Small repository for handling cookies.

System Requirements
-------------------

[](#system-requirements)

You need `PHP => 8.1` but the latest stable version of PHP is recommended.

This package is continuously tested on the following PHP versions:

- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
- PHP 8.5

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

[](#installation)

It's recommended that you use [Composer](https://getcomposer.org/) to install the cookie repository.

```
composer require zaphyr-org/cookie
```

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

[](#documentation)

You can read the full documentation [here](https://zaphyr.org/docs/repositories/latest/cookie).

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Issues
------

[](#issues)

Bug reports and feature requests can be submitted on the [GitHub Issue Tracker](https://github.com/zaphyr-org/cookie/issues).

Security
--------

[](#security)

If you discover security related issues, please email  **instead of using the issue tracker!**

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

[](#contributing)

Please see [CONTRIBUTING](https://zaphyr.org/contributions) for details.

Code of Conduct
---------------

[](#code-of-conduct)

Please see [CODE OF CONDUCT](https://zaphyr.org/contributions#code-of-conduct) for details.

License
-------

[](#license)

This project is licensed under the MIT license. See [LICENSE](LICENSE.md) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance64

Regular maintenance activity

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~252 days

Total

3

Last Release

463d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25499f6685a498dbadd9b45769a40dc4c792434b54f4d434ce44a432f0b18741?d=identicon)[merloxx](/maintainers/merloxx)

---

Top Contributors

[![merloxx](https://avatars.githubusercontent.com/u/12734661?v=4)](https://github.com/merloxx "merloxx (14 commits)")

---

Tags

cookiecookies

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/zaphyr-org-cookie/health.svg)

```
[![Health](https://phpackages.com/badges/zaphyr-org-cookie/health.svg)](https://phpackages.com/packages/zaphyr-org-cookie)
```

###  Alternatives

[whitecube/laravel-cookie-consent

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

489563.9k1](/packages/whitecube-laravel-cookie-consent)[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)[josantonius/cookie

PHP library for handling cookies.

2238.7k4](/packages/josantonius-cookie)

PHPackages © 2026

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