InitPHP Cookies

Signed, tamper-evident cookie manager for PHP 7.4+ with HMAC-SHA256 integrity and per-key TTL.

PHP 7.4+ MIT v2.0.0

Installation

terminal
$ composer require initphp/cookies

Requires PHP 7.4+. The package is published on Packagist as initphp/cookies.

What Cookies does

A signed, tamper-evident cookie manager for PHP with HMAC-SHA256 integrity, per-key TTL, and hardened deserialization.

Package details

Composer package
initphp/cookies
Latest version
2.0.0
Released
2026-06-10
Requires
PHP 7.4+ (^7.4 || ^8.0)
License
MIT
Depends on
initphp/parameterbag