Search by

yireo / magento2-disable-csp

Disable CSP

Maintainers

Package info

github.com/yireo/Yireo_DisableCsp

Type:magento2-module

pkg:composer/yireo/magento2-disable-csp

Transparency log

Fund package maintenance!

yireo

www.paypal.me/yireo

Statistics

Installs: 164 663

Dependents: 0

Suggesters: 0

Stars: 22

1.0.3 2025-04-17 11:09 UTC

This package is auto-updated.

Last update: 2026-09-03 08:43:38 UTC


README

Magento version PHP version License Latest Version

For shops that don't need CSP to be enabled, this module offers a quick solution. Just install and enable the module and you're done.

Technically, it replaces the default implementation of Magento\Csp\Api\CspRendererInterface with a dummy.

Usage

composer require yireo/magento2-disable-csp
bin/magento module:enable Yireo_DisableCsp

Remark

The magento/module-csp package is still necessary and should not be removed via composer replace.

Alternatives

Current status

Static Tests Unit Tests Integration Tests Playwright DI Compilation