rhamoudi / inpsyde
A composer package, which serves the functionality working with WordPress Nonce.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/rhamoudi/inpsyde
Requires
- php: >=7.0 <7.2
- inpsyde/php-coding-standards: ^0.13.0@dev
Requires (Dev)
- phpunit/phpunit: ^6
This package is not auto-updated.
Last update: 2025-11-09 11:48:55 UTC
README
A composer package, which serves the functionality working with WordPress Nonce
Installation with composer
This SDK uses composer.
Composer is a tool for dependency management in PHP. It allows you to declare the libraries your project depends on and it will manage (install/update) them for you.
For more information on how to use/install composer, please visit: https://github.com/composer/composer
To install the package into your project, simply
$ composer require rhamoudi/inpsyde
Requirements
Php versions 7.0 and newer.
Quick start and examples
$context = new WPNonceContext; $nonce_value = $context->createNonce('test_nonce');
Available Methods
$context = new WPNonceContext; $context->createNonce('test_nonce1') ->changeAction('test_nonce') ->changeErrors(true) ->errorMessage('Your WordPress Nonce is not valid');
Get Action
->action();
Get Errors
->errors();
Get ErrorMessage
->errorMessage();