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

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

drewlabs/cookie
===============

OOP implementation for Request &amp; Response Cookies

v0.2.0(2y ago)04MITPHPPHP &gt;=7.2

Since May 23Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Cookie Library
==============

[](#cookie-library)

The `drewlabs/cookie` library provide a cookie an Object Oriented component for building and parsing cookies. The library also provides various immutable methods on the `Cookie` instance to update cookie instance once created.

Usage
-----

[](#usage)

The library provides developers with a factory class for creating cookie instances. Using `cookie factory` class to create cookies follow the syntaxes below:

```
