PHPackages                             contialessandro/oopnonce - 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. contialessandro/oopnonce

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

contialessandro/oopnonce
========================

Object Oriented library for Wordpress wp\_nonce\_\*() methods

06PHP

Since Jun 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/contialessandro/WordpressNonceOop)[ Packagist](https://packagist.org/packages/contialessandro/oopnonce)[ RSS](/packages/contialessandro-oopnonce/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (4)Used By (0)

Wordpress Object Oriented library for wp\_nonce;
================================================

[](#wordpress-object-oriented-library-for-wp_nonce)

Orignal library can be found at: [https://codex.wordpress.org/WordPress\_Nonces](https://codex.wordpress.org/WordPress_Nonces)

set configuration with the below methods

```
            $config = new \Nonces\NonceGenerator();
			$config->getLife(),
			$config->getAlgorithm(),
			$config->setSalt(),
			$config->getSession(),
			$config->getUserId(),

```

### Create Nonce

[](#create-nonce)

#### Will need salt and algortithm set before calling the below method

[](#will-need-salt-and-algortithm-set-before-calling-the-below-method)

```
$nonce = new Nonce();
$nonce->generateNonce();
```

### Verify Nonce

[](#verify-nonce)

```
$verifier = new Nonce($input,$nonce);
$verifier->compare($nonce, $action);
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/86363bfd2c6afab85f9ffad802cad59ee57aa33fce24cb6b35754d2a0b85444f?d=identicon)[contialessandro](/maintainers/contialessandro)

---

Top Contributors

[![contialessandro](https://avatars.githubusercontent.com/u/19214367?v=4)](https://github.com/contialessandro "contialessandro (28 commits)")

---

Tags

nonceoopwordpress

### Embed Badge

![Health badge](/badges/contialessandro-oopnonce/health.svg)

```
[![Health](https://phpackages.com/badges/contialessandro-oopnonce/health.svg)](https://phpackages.com/packages/contialessandro-oopnonce)
```

###  Alternatives

[zservices/query

Pacote para consultas em serviços do governo.

131.1k](/packages/zservices-query)

PHPackages © 2026

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