paper-scorer / decrypter-php
PHP package to decrypt PaperScorer callback payloads.
v1.0.1
2025-02-08 18:46 UTC
Requires
- php: >=7.4
This package is auto-updated.
Last update: 2025-05-08 19:21:10 UTC
README
PaperScorer Decrypter
This PHP package is used to decrypt the response returned from the PaperScorer engine.
- Package version: 1.0.0
Requirements
PHP 7.4.0 and later
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:
// This is the main include for the project. use PaperScorer/DecrypterPhp/Decrypter; // Creating a new decrypter object and setting the key. // NOTE: The key is provided by PaperScorer. $decrypter = new Decrypter($decryptKey); // Setting the encrypted content sent from the PaperScorer engine. $decrypter->setEncryptedContent($encryptedContent); // Running the decrypter and getting the decrypted response. // NOTE: The decrypted response will be a JSON string. $decryptedResponse = $decrypter->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.X
git push --tags origin HEAD:master
- Log into Packagist and click "Update"