PHPackages                             yireo/magento2-csp-utilities - 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. yireo/magento2-csp-utilities

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

yireo/magento2-csp-utilities
============================

CSP utilities for various Magento modules

1.0.1(1y ago)3680.7k↓43%8OSL-3.0PHP

Since Aug 23Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/yireo/Yireo_CspUtilities)[ Packagist](https://packagist.org/packages/yireo/magento2-csp-utilities)[ RSS](/packages/yireo-magento2-csp-utilities/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (8)

Magento 2 module CSP Utilities
==============================

[](#magento-2-module-csp-utilities)

**This Magento 2 module offers CSP utilities for other modules, including various Yireo extensions.**

### Installation

[](#installation)

Installation is usually done via other modules, but if you wanted to separately install this, here you go:

```
composer require yireo/magento2-csp-utilities
bin/magento module:enable Yireo_CspUtilities
```

### Configuration

[](#configuration)

- **Inline Script Mode**
    - `nonce`: Generate CSP nonces for Yireo extensions. This is the default, but it is currently not as secure in Magento, if the HTML is cached;
    - `hash`: Generate CSP hashes for Yireo extensions. This is more secure. However, with this option, your HTTP headers could grow, which could lead into webserver limits;

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance48

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community17

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

Every ~198 days

Total

2

Last Release

480d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/yireo-magento2-csp-utilities/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-magento2-csp-utilities/health.svg)](https://phpackages.com/packages/yireo-magento2-csp-utilities)
```

###  Alternatives

[elgentos/regenerate-catalog-urls

Regenerate Catalog URL Rewrites (products, categories, cms pages)

2842.6M](/packages/elgentos-regenerate-catalog-urls)[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)[tig/postnl-magento2

TIG Magento 2 PostNL extension

59570.5k5](/packages/tig-postnl-magento2)[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.8k2](/packages/zwernemann-module-withdrawal)

PHPackages © 2026

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