PHPackages                             wouyang/module-disable-csp - 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. wouyang/module-disable-csp

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

wouyang/module-disable-csp
==========================

Module to disable Csp functionality for those who does not need it.

1.0.0(1y ago)828.6k↓10.3%1MITPHP

Since Jun 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/weiweiouyang/magento2-module-disable-csp)[ Packagist](https://packagist.org/packages/wouyang/module-disable-csp)[ RSS](/packages/wouyang-module-disable-csp/feed)WikiDiscussions master Synced 1mo ago

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

Magento 2 Module to Disable CSP
===============================

[](#magento-2-module-to-disable-csp)

This Magento 2 module provides a simple solution to disable the Content Security Policy (CSP) enforcement in the checkout process, which was introduced in the security update on 2024-06-11 and caused issues for many merchants.

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

[](#installation)

Install the module via Composer:

`composer require wouyang/module-disable-csp`

How it Works
------------

[](#how-it-works)

After installation, this module disables the specific event in module CSP. You can then effectively bypass the CSP enforcement without completely disabling the `Module_Csp`, which may still be required for other functionalities or security measures in your Magento store.

Usage
-----

[](#usage)

No further configuration is required. The module will automatically disable the specified events upon installation.

**Do not install it if you need to maintain PCI DSS compliance!**

Compatibility
-------------

[](#compatibility)

This module is compatible with Magento 2.4.7-p1, 2.4.6-p6, 2.4.5-p8, 2.4.4-p9 and later versions.

Support
-------

[](#support)

If you encounter any issues or have questions, please open an issue on the [GitHub repository](https://github.com/weiweiouyang/magento2-module-disable-csp).

License
-------

[](#license)

This module is licensed under the [MIT License](LICENSE).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

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

698d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/afc620033643c160528cfaa1453bb3f6794ac54abe9a12435ebaf7ef76fd9758?d=identicon)[wouyang](/maintainers/wouyang)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wouyang-module-disable-csp/health.svg)

```
[![Health](https://phpackages.com/badges/wouyang-module-disable-csp/health.svg)](https://phpackages.com/packages/wouyang-module-disable-csp)
```

###  Alternatives

[tig/postnl-magento2

TIG Magento 2 PostNL extension

58544.2k4](/packages/tig-postnl-magento2)[lillik/magento2-price-decimal

Magento 2 Price Decimal Precision

111147.5k](/packages/lillik-magento2-price-decimal)[doofinder/doofinder-magento2

Doofinder module for Magento 2

13204.0k1](/packages/doofinder-doofinder-magento2)[magepal/magento2-form-field-manager

Customer and Address Form Fields Manager for Magento2

293.8k](/packages/magepal-magento2-form-field-manager)[graycore/magento2-graphql-introspection-cache

1015.2k](/packages/graycore-magento2-graphql-introspection-cache)[elgentos/magento2-hyva-checkout-ab-test

Set up an A/B test with different available Hyvä and Luma checkouts

154.2k](/packages/elgentos-magento2-hyva-checkout-ab-test)

PHPackages © 2026

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