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

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

magentix/magento-csp
====================

CSP module to disable Content Security Policies in Magento

100.0.1(6mo ago)015OSL-3.0PHP

Since Dec 23Pushed 6mo agoCompare

[ Source](https://github.com/magentix/magento-csp)[ Packagist](https://packagist.org/packages/magentix/magento-csp)[ RSS](/packages/magentix-magento-csp/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Magento\_Csp
============

[](#magento_csp)

Introduction
------------

[](#introduction)

By default, Magento enforces its CSP module without allowing it to be disabled.

The default CSP module causes issues in many scenarios, and you could use your own CSP implementation.

This lightweight, minimal module acts as a dependency resolver. It maintains compatibility with:

- magento/module-checkout
- magento/module-paypal
- magento/module-theme

These modules depend on `magento/module-csp`.

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

[](#compatibility)

- 2.4.6-p13
- 2.4.7-p8
- 2.4.8-p3

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

[](#installation)

```
composer require magentix/magento-csp

```

Alternative
-----------

[](#alternative)

A simple observer!

**app/code/Vendor/Module/etc/frontend/events.xml**

```

```

**app/code/Vendor/Module/Observer/Csp.php**

```
