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

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

cuephp/cookie
=============

cuephp Cookie Component

0.1.0(4y ago)03MITPHPPHP ^7.2 || ^8.0

Since Nov 25Pushed 4y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

CuePhp-cookie
=============

[](#cuephp-cookie)

[![Build Status](https://github.com/cueBlog-Club/cookie/actions/workflows/ci.yml/badge.svg)](https://github.com/cueBlog-Club/cookie/actions)[![Code Coverage](https://camo.githubusercontent.com/26b0417d00d4fe1076765f9a1de3be34229d3030b63e5f4f191302be11024c46/68747470733a2f2f636f6465636f762e696f2f67682f637565426c6f672d436c75622f636f6f6b69652f6272616e63682f6d61696e2f67726170682f62616467652e737667)](https://codecov.io/gh/cueBlog-Club/cookie/branch/main)

[![Latest Stable Version](https://camo.githubusercontent.com/9e96477d52b28ce85e10e2db70eaeec0acc46e404e088597d46d74a8a64c7a37/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6375657068702f636f6f6b69652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cuephp/cookie)[![Total Downloads](https://camo.githubusercontent.com/a670ec2c17c2c579ec81b9c9c93b6d96dbef148d6d6d7890b729872fab916628/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6375657068702f636f6f6b69652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cuephp/cookie)

### Instanll

[](#instanll)

```
compose require cuephp/cookie

```

### Usage

[](#usage)

#### extra from header

[](#extra-from-header)

```
use CuePhp\CookieManager;

$cookie = CookieManager::createFromHeaders($cookieString); // cookie string is  from http header

// get cookie value
$cookie->getValue();
```

#### Set value to Header

[](#set-value-to-header)

```
use CuePhp\CookieManager;

$cookie = CookieManager::new( 'name', 'value' );
CookieManager::setToClientHeaders($cookie); // will set response header set-cookie
```

#### Set value With Options

[](#set-value-with-options)

```
use CuePhp\CookieManager;
$cookie = CookieManager::new( 'name', 'value', {$options} );
```

##### options

[](#options)

- expires:
- path:
- secure:
- domain:
- httponly:
- samesite:

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

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

Unknown

Total

1

Last Release

1634d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

phpcookie

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[imanghafoori/laravel-anypass

A minimal yet powerful package to help you in development.

21421.6k](/packages/imanghafoori-laravel-anypass)[marcogermani87/filament-cookie-consent

Easy cookie consent integrations for Filament

1917.0k](/packages/marcogermani87-filament-cookie-consent)

PHPackages © 2026

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