PHPackages                             nystudio107/craft-cookies - 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. [Templating &amp; Views](/categories/templating)
4. /
5. nystudio107/craft-cookies

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

nystudio107/craft-cookies
=========================

A simple plugin for setting and getting cookies from within Craft CMS templates.

5.0.0(2y ago)37499.7k↓44.5%7[2 issues](https://github.com/nystudio107/craft-cookies/issues)[2 PRs](https://github.com/nystudio107/craft-cookies/pulls)6MITPHPPHP ^8.2

Since Feb 1Pushed 1y ago2 watchersCompare

[ Source](https://github.com/nystudio107/craft-cookies)[ Packagist](https://packagist.org/packages/nystudio107/craft-cookies)[ GitHub Sponsors](https://github.com/khalwat)[ RSS](/packages/nystudio107-craft-cookies/feed)WikiDiscussions develop-v5 Synced 2d ago

READMEChangelog (10)Dependencies (4)Versions (30)Used By (6)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/ad7762f2b4a77b80a4c53b7f92ffc4a48344e256913261ef9ff44bc0727bfaa9/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d636f6f6b6965732f6261646765732f7175616c6974792d73636f72652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-cookies/?branch=v5) [![Code Coverage](https://camo.githubusercontent.com/52657eaee4c57c0be6115d26f7087dd65c1ae84c67ca3f10927f1a201e3e45e4/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d636f6f6b6965732f6261646765732f636f7665726167652e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-cookies/?branch=v5) [![Build Status](https://camo.githubusercontent.com/ee040487fd1c0e8e5f1ce67dd62fd2dc4920314c3254b3b6b9a975bd46f621f7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d636f6f6b6965732f6261646765732f6275696c642e706e673f623d7635)](https://scrutinizer-ci.com/g/nystudio107/craft-cookies/build-status/v5) [![Code Intelligence Status](https://camo.githubusercontent.com/1d7530356d382352acf486132ebe5603cc8d9e363158f458bc65c5cd2718c13c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6e7973747564696f3130372f63726166742d636f6f6b6965732f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d7635)](https://scrutinizer-ci.com/code-intelligence)

Cookies plugin for Craft CMS 5.x
================================

[](#cookies-plugin-for-craft-cms-5x)

A simple plugin for setting and getting cookies from within [Craft CMS](http://craftcms.com) templates.

[![Screenshot](./docs/docs/resources/img/plugin-logo.png)](./docs/docs/resources/img/plugin-logo.png)

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 5.0.0 or later.

**Installation**

1. Install with Composer via `composer require nystudio107/craft-cookies` from your project directory
2. Install the plugin via `./craft install/plugin cookies` via the CLI -or- in the Craft Control Panel under Settings &gt; Plugins

You can also install Cookies via the **Plugin Store** in the Craft Control Panel.

Documentation
-------------

[](#documentation)

Click here -&gt; [Cookies Documentation](https://nystudio107.com/plugins/cookies/documentation)

Brought to you by [nystudio107](http://nystudio107.com)

###  Health Score

50

—

FairBetter than 95% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity47

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 97.9% 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 ~109 days

Recently: every ~16 days

Total

25

Last Release

809d ago

Major Versions

1.1.15 → 4.0.0-beta.12022-03-09

1.1.16 → 4.0.12024-02-13

v4.x-dev → 5.0.0-beta.12024-02-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7570798?v=4)[Andrew Welch](/maintainers/khalwat)[@khalwat](https://github.com/khalwat)

---

Top Contributors

[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (95 commits)")[![kayqq](https://avatars.githubusercontent.com/u/19341583?v=4)](https://github.com/kayqq "kayqq (1 commits)")[![olivierbon](https://avatars.githubusercontent.com/u/146041?v=4)](https://github.com/olivierbon "olivierbon (1 commits)")

---

Tags

cookiescraft-plugincraft3craftcmscmscookiesCraftcraftcmscraft-plugin

### Embed Badge

![Health badge](/badges/nystudio107-craft-cookies/health.svg)

```
[![Health](https://phpackages.com/badges/nystudio107-craft-cookies/health.svg)](https://phpackages.com/packages/nystudio107-craft-cookies)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k69](/packages/verbb-formie)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[verbb/footnotes

Adds a footnotes feature to CKEditor fields and Twig templates.

213.6k](/packages/verbb-footnotes)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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