PHPackages                             blackbird/cookie-domain-cleaner - 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. blackbird/cookie-domain-cleaner

ActiveMagento2-module

blackbird/cookie-domain-cleaner
===============================

This Magento 2 module will clean cookies from parent domains gradually while navigating on the site on a subdomain

1.0.0(2y ago)1028.4k—5.3%MITPHPPHP &gt;=8.1.0

Since Nov 22Pushed 2y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Cookie domain cleaner [![Latest Stable Version](https://camo.githubusercontent.com/1e5bf41ea6a2b73cda5b35bb107069f3f2c93056032a4ff172c11fff894ca74b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d312e302e302d70696e6b)](https://packagist.org/packages/blackbird/cookie-domain-cleaner) [![License: MIT](https://camo.githubusercontent.com/bd09276aa89131a606a115dcb2580b2362864d5d8d555aaf5c48eff9389376bf/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626c61636b626972642d6167656e63792f636f6f6b69652d646f6d61696e2d636c65616e65722e737667)](./LICENSE)
=======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#cookie-domain-cleaner---)

This Magento 2 module will clean cookies from parent domains gradually while navigating on the site on a subdomain.

Its main purpose is to allow the hosting of several environments of a site on the same domain name while avoiding cookie conflicts with subdomains.

For instance, when navigating on `subdomain.my-site.com`, each time a cookie is defined, it will be deleted from `my-site.com` if there are duplicates.

Installation
------------

[](#installation)

```
composer require blackbird/cookie-domain-cleaner
```

```
php bin/magento setup:upgrade
```

Alternatives
------------

[](#alternatives)

There are 3 ways to solve similar issues :

- Install this module
- Add a subdomain (e.g. `www`) for the production environment
- Rename the `PHPSESSID` with an unique name for each environment

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

909d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12445118?v=4)[anthony-blackbird](/maintainers/anthony-blackbird)[@anthony-blackbird](https://github.com/anthony-blackbird)

---

Top Contributors

[![cg-blackbird](https://avatars.githubusercontent.com/u/151512744?v=4)](https://github.com/cg-blackbird "cg-blackbird (1 commits)")

### Embed Badge

![Health badge](/badges/blackbird-cookie-domain-cleaner/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-cookie-domain-cleaner/health.svg)](https://phpackages.com/packages/blackbird-cookie-domain-cleaner)
```

###  Alternatives

[fastly/magento2

Fastly CDN Module for Magento 2.4.x

1564.2M1](/packages/fastly-magento2)[mage-os/module-automatic-translation

Automatic AI content translation for Mage-OS.

277.1k](/packages/mage-os-module-automatic-translation)[zepgram/module-rest

Technical module to industrialize API REST call with dependency injection pattern using Guzzle library

1326.2k](/packages/zepgram-module-rest)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[mage-os/mageos-common-async-events

Send REST requests to external endpoints asynchronously. This module implements the most common events like order creation and customer change.

147.7k2](/packages/mage-os-mageos-common-async-events)[mage-os/module-inventory-reservations-grid

Add a grid with the list of inventory reservations.

126.8k](/packages/mage-os-module-inventory-reservations-grid)

PHPackages © 2026

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