PHPackages                             manuel-rod/wp\_nonce\_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. manuel-rod/wp\_nonce\_oop

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

manuel-rod/wp\_nonce\_oop
=========================

Wordpress Nonce OOP Implementation

1.0.1(7y ago)015PHPPHP &gt;=5.6

Since May 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/manuelRod/WP_Nonce_OOP)[ Packagist](https://packagist.org/packages/manuel-rod/wp_nonce_oop)[ Docs](https://github.com/manuelRod/WP_Nonce_OOP)[ RSS](/packages/manuel-rod-wp-nonce-oop/feed)WikiDiscussions master Synced 1mo ago

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

WP\_Nonce\_OOP
==============

[](#wp_nonce_oop)

Wordpress Nonce OOP Implementation. Just an OOP wrap.

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

[](#installation)

```
$ composer require manuel-rod/wp_nonce_oop
```

Usage
-----

[](#usage)

```
$nonce = new WP_Nonce('wp_action_nonce');
```

Public methods
--------------

[](#public-methods)

```
$nonce->createNonce()
$nonce->verifyNonce($nonce)
$nonce->nonceField($name = '_wpnonce', $referrer = true, $echo = true)
$nonce->nonceUrl($url, $name = '_wpnonce')
$nonce->checkAdminReferer($name = '_wpnonce')
$nonce->checkAjaxReferer($name = false, $die = true)
```

Testing (phpunit)
-----------------

[](#testing-phpunit)

Copy phpunit.xml.dist to phpunit.xml and modify to your needs.

```
$ cd vendor/manuelRod/WP_Nonce_OOP
$ composer install
$ vendor/bin/phpunit
```

Licence
-------

[](#licence)

MIT

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~0 days

Total

2

Last Release

2916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d993b7814b8b1b697a740e2c26eb75644fa4e5b54af1ad56e0947d6ac95ba2ce?d=identicon)[manuelRod](/maintainers/manuelRod)

---

Top Contributors

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

---

Tags

nonceoopwordpresswpwordpressOOPwp\_nonce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/manuel-rod-wp-nonce-oop/health.svg)

```
[![Health](https://phpackages.com/badges/manuel-rod-wp-nonce-oop/health.svg)](https://phpackages.com/packages/manuel-rod-wp-nonce-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)
