PHPackages                             jairlopez/setcookie-compat - 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. jairlopez/setcookie-compat

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

jairlopez/setcookie-compat
==========================

A Compatibility library with PHP 7.4's setcookie API for projects requiring PHP &gt;= 5.6

v2.0.0(5y ago)03MITPHP &gt;=5.6

Since Jul 20Compare

[ Source](https://gitlab.com/jairlopez/setcookie_compat)[ Packagist](https://packagist.org/packages/jairlopez/setcookie-compat)[ Docs](https://gitlab.com/jairlopez/setcookie_compat/)[ Fund](https://www.paypal.me/jair4321)[ RSS](/packages/jairlopez-setcookie-compat/feed)WikiDiscussions Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://gitlab.com/jairlopez/setcookie_compat).

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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 ~261 days

Total

2

Last Release

1858d ago

Major Versions

v1.0.0 → v2.0.02021-04-08

PHP version history (2 changes)v1.0.0PHP &gt;=5.3

v2.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://www.gravatar.com/avatar/7abf8d6eff634ab28994a42bb84af9f532f2380478b71d55563b7c6a92092a7b?d=identicon)[jairlopez](/maintainers/jairlopez)

---

Tags

cookiescookiesamesitesamesite cookienonesamesite cookieslax

### Embed Badge

![Health badge](/badges/jairlopez-setcookie-compat/health.svg)

```
[![Health](https://phpackages.com/badges/jairlopez-setcookie-compat/health.svg)](https://phpackages.com/packages/jairlopez-setcookie-compat)
```

###  Alternatives

[spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

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

Modern cookie management for PHP

1681.2M12](/packages/delight-im-cookie)[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)[skorp/detect-incompatible-samesite-useragents

Determine if UserAgent is incompatible with SameSite=None

122.6M4](/packages/skorp-detect-incompatible-samesite-useragents)[paragonie/cookie

Modern cookie management for PHP 7

5654.3k2](/packages/paragonie-cookie)

PHPackages © 2026

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