PHPackages                             stepanov/wp-nonces-oop - 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. stepanov/wp-nonces-oop

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stepanov/wp-nonces-oop
======================

OOP implementation of WP Nonces

v1.0.0(8y ago)014MITPHP

Since Apr 1Pushed 8y ago1 watchersCompare

[ Source](https://github.com/stepanov/wp-nonces-oop)[ Packagist](https://packagist.org/packages/stepanov/wp-nonces-oop)[ Docs](http://stepanoff.org)[ RSS](/packages/stepanov-wp-nonces-oop/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

OOP WP Nonces Generator
=======================

[](#oop-wp-nonces-generator)

About
-----

[](#about)

Generates WP nonces in OOP manner

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

[](#installation)

### Composer

[](#composer)

Install generator globally:

```
composer global require "stepanov/wp-nonces-oop=*"

```

To add to your project:

```
{
    "require": {
        "stepanov/wp-nonces-oop": "1.*"
    }
}

```

Usage
-----

[](#usage)

```
$nonce = new WpNonces();

$urlNonce = $nonce->createNonceUrl([
    'url' => 'http://example.com',
    'action' => 'some_action'
]);

$plainNonce = $nonce->createNoncePlain([
    'action' => 'some_action'
])

$fieldNonce = $nonce->createNonceField([
    'action' => 'some_action'
]);

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

2959d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/24bbfd1ecd99d965dba717d3ab316151cebd27945d991dcdd96dc0fa29bf862a?d=identicon)[stepanov](/maintainers/stepanov)

---

Top Contributors

[![stepanov](https://avatars.githubusercontent.com/u/166552?v=4)](https://github.com/stepanov "stepanov (12 commits)")

---

Tags

wordpressOOPNonces

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/stepanov-wp-nonces-oop/health.svg)

```
[![Health](https://phpackages.com/badges/stepanov-wp-nonces-oop/health.svg)](https://phpackages.com/packages/stepanov-wp-nonces-oop)
```

###  Alternatives

[aristath/kirki

Extending the WordPress customizer

1.3k73.0k4](/packages/aristath-kirki)[afragen/git-updater

A plugin to automatically update GitHub, Bitbucket, GitLab, or Gitea hosted plugins, themes, and language packs.

3.3k1.6k](/packages/afragen-git-updater)

PHPackages © 2026

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