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

ActiveLibrary

puff/cookie
===========

Configurable Cookie component for PHP Unison Fiber Framework

00PHP

Since Aug 26Pushed todayCompare

[ Source](https://github.com/php-puff/cookie)[ Packagist](https://packagist.org/packages/puff/cookie)[ RSS](/packages/puff-cookie/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Puff Cookie
===========

[](#puff-cookie)

`puff/cookie` provides configurable Cookie creation and Fiber-safe access to the current scoped request and response.

```
cookie('theme', 'dark');
$theme = cookie('theme');

$cookies = app('cookie');
$cookies->remove('theme');
```

Configuration keys are read from `cookie`: `prefix`, `expire`, `path`, `domain`, `secure`, `http_only`, `raw`, `same_site`, and `encrypt`. Encrypted values require the optional `puff/crypt` package.

The component depends on `puff/http`, while `puff/http` has no dependency on `puff/cookie`.

###  Health Score

20

↑

LowBetter than 12% of packages

Maintenance65

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity11

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/ba6cd45c700485e17cb04793c4ccc621b0fee615d77fc5ff8b6e2469306f15fb?d=identicon)[dcto](/maintainers/dcto)

---

Top Contributors

[![dcto](https://avatars.githubusercontent.com/u/5618679?v=4)](https://github.com/dcto "dcto (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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