paper-scorer / decrypter-php
PHP package to decrypt PaperScorer callback payloads.
v1.1.0
2026-01-28 19:46 UTC
Requires
- php: >=7.4
Requires (Dev)
- phpunit/phpunit: ^9.6
This package is auto-updated.
Last update: 2026-03-25 00:38:04 UTC
README
PaperScorer Decrypter
This PHP package is used to decrypt the response returned from the PaperScorer engine.
- Package version: 1.1.0
Requirements
- PHP 7.4.0 and later
opensslPHP extension
Installation & Usage
Composer
This package can be easily installed using the following composer command:
composer require paper-scorer/decrypter-php
Usage
Include and run the following code in your project:
use PaperScorer\DecrypterPhp\Decrypter; // Create a decrypter with the key provided by PaperScorer. $decrypter = new Decrypter($decryptKey); // Decrypt the encrypted callback payload (returns a JSON string). $decryptedResponse = $decrypter ->setEncryptedContent($encryptedContent) ->decrypt();
Contributing
We are always looking for updates to the package that will help the community. If you have an idea for an update, please create a pull request with your changes.
Publishing
- Update the CHANGELOG file
git tag -a vX.X.Xgit push --tags origin HEAD:main- Log into Packagist and click "Update"