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(2y ago)933.4k↓52.4%1MITPHP

Since Jun 19Pushed 2y 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 3d 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

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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

745d 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

[adyen/module-payment

Official Magento2 Plugin to connect to Payment Service Provider Adyen.

1673.2M10](/packages/adyen-module-payment)[nosto/module-nostotagging

Increase your conversion rate and average order value by delivering your customers personalized product recommendations throughout their shopping journey.

27703.7k4](/packages/nosto-module-nostotagging)[integer-net/magento2-sansec-watch

Sansec Watch integration for Magento 2

40207.0k](/packages/integer-net-magento2-sansec-watch)[myparcelnl/magento

A Magento 2 module that creates MyParcel labels

1860.2k](/packages/myparcelnl-magento)[loki/magento2-components

Core module for defining Alpine.js components with advanced AJAX features

1011.8k26](/packages/loki-magento2-components)[zwernemann/module-withdrawal

Magento 2 EU Withdrawal Button Module - Adds a withdrawal/revocation button for orders in compliance with EU Directive (EU) 2023/2673

244.9k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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