PHPackages                             debabratakarfa/wordpress-nonce - 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. debabratakarfa/wordpress-nonce

ActiveWordpress-plugin

debabratakarfa/wordpress-nonce
==============================

This will enable WordPress Nonce function to use on project

06PHP

Since Feb 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/debabratakarfa/wordpress-nonce)[ Packagist](https://packagist.org/packages/debabratakarfa/wordpress-nonce)[ RSS](/packages/debabratakarfa-wordpress-nonce/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

WordPress\_Nonce
================

[](#wordpress_nonce)

WordPress plugin that enables the wordpress nonce function in environment.

\##How to install using composer

The composer.json file:

```
"debabratakarfa/wordpress-nonce": "1.0.*"

{
	"repositories": [
		{
			"type": "vcs",
			"url" : "https://github.com/debabratakarfa/wordpress-nonce"
		}
	],
	"require": {
		"debabratakarfa/wordpress-nonce" : "1.0.*"
	}
}

```

Add to your composer.json file this package as a require an then run 'composer install'

Or

```
Open Terminal

cd /path/to/your/install/wordpress/plugin_folder/
git clone https://github.com/debabratakarfa/wordpress-nonce.git
cd wordpress-nonce
composer install

Then go to Wp-Admin access to activate it

```

\##How to use

Create nonce

```
$Nonce = new Nonce();
$nonce = $Nonce->create_nonce('my-nonce');
```

Verify nonce

```
$Nonce = new Nonce();

//Create New nonce
$nonce = $Nonce->create_nonce('my-nonce');
if ($nonce->verify_nonce($nonce, 'my-nonce')) {
	//If true, then your code
}else{
	//If false, then your code
}
```

Create nonce url

```
$nonce = new Nonce();
$url = $nonce->nonce_url('http://my-url.com', 'doing-something', 'my-nonce');

```

\##How to do Test

```
Open Terminal [Consider you using VVV and PHPUnit Test properly setup]

vagrant ssh
cd /path/to/your/install/wordpress/plugin_folder/wordpress-nonce/
phpunit

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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/0d38ddddc13b1cf1a4acd0b687b686462a7079b3b127f52373b6f97a7c82999f?d=identicon)[dkarfa](/maintainers/dkarfa)

### Embed Badge

![Health badge](/badges/debabratakarfa-wordpress-nonce/health.svg)

```
[![Health](https://phpackages.com/badges/debabratakarfa-wordpress-nonce/health.svg)](https://phpackages.com/packages/debabratakarfa-wordpress-nonce)
```

PHPackages © 2026

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