PHPackages                             blackbird/module-nonce-provider - 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. blackbird/module-nonce-provider

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

blackbird/module-nonce-provider
===============================

N/A

1.0.0(2y ago)07.3k↓71.2%1MITPHP

Since Jul 2Pushed 2y ago1 watchersCompare

[ Source](https://github.com/blackbird-agency/module-nonce-provider)[ Packagist](https://packagist.org/packages/blackbird/module-nonce-provider)[ RSS](/packages/blackbird-module-nonce-provider/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependencies (1)Versions (2)Used By (1)

Module Nonce Provider
=====================

[](#module-nonce-provider)

[![Latest Stable Version](https://camo.githubusercontent.com/d658b1dbd7ef99ec5b86d27a0e32b19f6df95f5a0babaec629133e0baa060c1f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f626c61636b626972642f6d6f64756c652d6e6f6e63652d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/blackbird/module-nonce-provider)[![License: MIT](https://camo.githubusercontent.com/1862d36bbd3a273813eb337d067d8b7e1da785f12659f75d3cd2a2e8776d2144/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f626c61636b626972642d6167656e63792f6d6f64756c652d6e6f6e63652d70726f76696465722e7376673f7374796c653d666c61742d737175617265)](./LICENSE)

This module add access to the object "$nonceProvider" in all Magento 2 templates to facilitate implementation of CSP nonce security.

```
/**
 * @var \Blackbird\NonceProvider\ViewModel\NonceProvider $nonceProvider
 */
 >
   console.log("I am authorized now !");

```

Setup
-----

[](#setup)

### Get the package

[](#get-the-package)

**Zip Package:**

Unzip the package in app/code/Blackbird/NonceProvider, from the root of your Magento instance.

**Composer Package:**

```
composer require blackbird/module-nonce-provider

```

### Install the module

[](#install-the-module)

Go to your Magento root, then run the following Magento command:

```
php bin/magento setup:upgrade

```

**If you are in production mode, do not forget to recompile and redeploy the static resources, or to use the `--keep-generated` option.**

Support
-------

[](#support)

- If you have any issue with this code, feel free to [open an issue](https://github.com/blackbird-agency/module-nonce-provider/issues/new).
- If you want to contribute to this project, feel free to [create a pull request](https://github.com/blackbird-agency/module-nonce-provider/compare).

Contact
-------

[](#contact)

For further information, contact us:

- by email:
- or by form: [https://black.bird.eu/en/contacts/](https://black.bird.eu/contacts/)

Authors
-------

[](#authors)

- **Aline Denizot** - *Maintainer* - [It's me!](https://github.com/AlineBird)
- **Blackbird Team** - *Contributor* - [They're awesome!](https://github.com/blackbird-agency)

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

***That's all folks!***

###  Health Score

25

↓

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community9

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

731d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/12445118?v=4)[anthony-blackbird](/maintainers/anthony-blackbird)[@anthony-blackbird](https://github.com/anthony-blackbird)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/blackbird-module-nonce-provider/health.svg)

```
[![Health](https://phpackages.com/badges/blackbird-module-nonce-provider/health.svg)](https://phpackages.com/packages/blackbird-module-nonce-provider)
```

###  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)
