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

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

flextype-components/cookie
==========================

Cookie component contains methods that assist in working with cookies.

v1.2.0(7y ago)05.3kMITPHPPHP ^7.1.3

Since Apr 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/flextype-components/cookie)[ Packagist](https://packagist.org/packages/flextype-components/cookie)[ Docs](https://github.com/flextype-components/cookie)[ RSS](/packages/flextype-components-cookie/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Cookie Component
================

[](#cookie-component)

[![version](https://camo.githubusercontent.com/8be7a46505f92808c0acb281cd65a76dedceba1eca99caff3c3f263f2781db5a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265 "Version")](https://camo.githubusercontent.com/8be7a46505f92808c0acb281cd65a76dedceba1eca99caff3c3f263f2781db5a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e322e302d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)[![MIT License](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://github.com/flextype-components/cookie/blob/master/LICENSE)

Cookie component contains methods that assist in working with cookies.

### Installation

[](#installation)

```
composer require flextype-components/cookie

```

### Usage

[](#usage)

```
use Flextype\Component\Cookie\Cookie;
```

Set a cookie

```
Cookie::set('username', 'Awilum');
```

Get a cookie

```
$username = Cookie::get('username');
```

Delete a cookie

```
Cookie::delete('username');
```

License
-------

[](#license)

See [LICENSE](https://github.com/flextype-components/cookie/blob/master/LICENSE)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Every ~224 days

Total

2

Last Release

2730d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/477114?v=4)[Sergey Romanenko](/maintainers/Awilum)[@Awilum](https://github.com/Awilum)

---

Top Contributors

[![Awilum](https://avatars.githubusercontent.com/u/477114?v=4)](https://github.com/Awilum "Awilum (11 commits)")

---

Tags

cookiecookie-componentflextypeflextype-componentphpcookiescookie

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-cookie-consent

Make your Laravel app comply with the crazy EU cookie law

1.5k4.7M20](/packages/spatie-laravel-cookie-consent)[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)[oveleon/contao-cookiebar

Contao Cookiebar

63124.1k6](/packages/oveleon-contao-cookiebar)[dirkpersky/typo3-dp_cookieconsent

Enable a cookie consent box. Let you visitors control the usage of cookies and load script or content after a consent. (ePrivacy, TTDSG)

36201.3k1](/packages/dirkpersky-typo3-dp-cookieconsent)[scify/laravel-cookie-guard

A Laravel package that provides a Cookies consent floating window and publishes the Cookies for the different consent categories

13714.3k](/packages/scify-laravel-cookie-guard)

PHPackages © 2026

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