定制 paper-scorer/decrypter-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

paper-scorer/decrypter-php

最新稳定版本:v1.1.0

Composer 安装命令:

composer require paper-scorer/decrypter-php

包简介

PHP package to decrypt PaperScorer callback payloads.

README 文档

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
  • openssl PHP 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

  1. Update the CHANGELOG file
  2. git tag -a vX.X.X
  3. git push --tags origin HEAD:main
  4. Log into Packagist and click "Update"

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-02-08