PHPackages                             veriteworks/cookiefix - 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. [Security](/categories/security)
4. /
5. veriteworks/cookiefix

ActiveMagento2-module[Security](/categories/security)

veriteworks/cookiefix
=====================

Magento2 extension for Cookie SameSite attribute.

3.2.1(6mo ago)65455.3k—9.2%37[10 issues](https://github.com/Veriteworks/CookieFix/issues)[2 PRs](https://github.com/Veriteworks/CookieFix/pulls)1OSL-3.0PHPPHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

Since Feb 7Pushed 6mo ago7 watchersCompare

[ Source](https://github.com/Veriteworks/CookieFix)[ Packagist](https://packagist.org/packages/veriteworks/cookiefix)[ RSS](/packages/veriteworks-cookiefix/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (2)Versions (31)Used By (1)

Extension for Cookie SameSite attribute
=======================================

[](#extension-for-cookie-samesite-attribute)

This extension is adjusting Cookie SameSite attribute issue since Chrome 80.

**NOTICE: this extension is experimental.**

Features
========

[](#features)

Add SameSite attribute into Magento session cookie. For 3DS payment, payment gateways tend to send request via POST to Magento based website. However without SameSite=None for session cookie, Magento cannot continue any PHP session state. This extension set SameSite=None and make customers place order via 3DS payment or other ID integrations.

How to install
==============

[](#how-to-install)

- composer require veriteworks/cookiefix
- bin/magento module:enable Veriteworks\_CookieFix
- bin/magento setup:upgrade

Configuration
=============

[](#configuration)

After 3.0.0-beta1, you can change SameSite cookie configuration from admin panel. Go to "Stores &gt; configuration &gt; web" and open cookie section. You can see "SameSite" field. By default, this extension sets SameSite configuration value to limited cookies. If you hope to update the list, please update web/cookie/affected\_keys configuration value.

Support
=======

[](#support)

If you have any issues about this extension, open an issue on Github. Technical support question is same.

Contribution
============

[](#contribution)

Any contributions are highly appreciated. Please send me a pull request.

License
=======

[](#license)

[Open Software License 3.0](http://opensource.org/licenses/osl-3.0.php)

Copyright
=========

[](#copyright)

(c) 2020 Veriteworks Inc.

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance63

Regular maintenance activity

Popularity51

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.6% 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 ~77 days

Recently: every ~138 days

Total

28

Last Release

207d ago

Major Versions

1.0.6 → 2.0.02020-04-17

2.4.1 → 3.0.0-beta12020-10-27

2.4.2 → 3.0.02021-03-03

PHP version history (8 changes)1.0.0PHP ~7.1.0|~7.2.0|~7.3.0

2.0.0PHP ~7.2.0|~7.3.0

2.2.0PHP ~7.2.0||~7.3.0||~7.4.0

3.0.0-beta1PHP ~7.3.0||~7.4.0

3.0.2PHP ~7.3.0||~7.4.0||~8.1.0

3.0.4PHP ~7.3.0||~7.4.0||~8.1.0||~8.2.0

3.1.0PHP ~7.4.0||~8.1.0||~8.2.0||~8.3.0

3.2.0PHP ~8.1.0||~8.2.0||~8.3.0||~8.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/dfb4dec44d8103c69666d39e9a01100f2a938d01460b4bcdbd3160bb193f6df2?d=identicon)[hirokazu\_n](/maintainers/hirokazu_n)

---

Top Contributors

[![HirokazuNishi](https://avatars.githubusercontent.com/u/124136?v=4)](https://github.com/HirokazuNishi "HirokazuNishi (39 commits)")[![bsdnomad](https://avatars.githubusercontent.com/u/5280290?v=4)](https://github.com/bsdnomad "bsdnomad (1 commits)")[![johnorourke](https://avatars.githubusercontent.com/u/2004038?v=4)](https://github.com/johnorourke "johnorourke (1 commits)")[![Lemongrabb](https://avatars.githubusercontent.com/u/29064916?v=4)](https://github.com/Lemongrabb "Lemongrabb (1 commits)")[![vovsky](https://avatars.githubusercontent.com/u/1716535?v=4)](https://github.com/vovsky "vovsky (1 commits)")[![yamashita12312](https://avatars.githubusercontent.com/u/51989338?v=4)](https://github.com/yamashita12312 "yamashita12312 (1 commits)")

### Embed Badge

![Health badge](/badges/veriteworks-cookiefix/health.svg)

```
[![Health](https://phpackages.com/badges/veriteworks-cookiefix/health.svg)](https://phpackages.com/packages/veriteworks-cookiefix)
```

###  Alternatives

[imi/magento2-friendly-captcha

Friendly Captcha integration for Magento2

18116.2k](/packages/imi-magento2-friendly-captcha)[basecom/magento2-csp-split-header

Magento 2 module to split oversized CSP headers into multiple headers.

5256.6k](/packages/basecom-magento2-csp-split-header)[pixelopen/magento-cloudflare-turnstile

Protect your store from spam messages and spam user accounts with Cloudflare Turnstile

5325.4k1](/packages/pixelopen-magento-cloudflare-turnstile)[yireo/magento2-csp-whitelist-inline-js

Magento module to automatically add inline JS script to CSP whitelist

2974.7k](/packages/yireo-magento2-csp-whitelist-inline-js)[sansec/magento2-module-shield

14111.8k](/packages/sansec-magento2-module-shield)

PHPackages © 2026

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