Skip to content

本项目用于对接 YOP 上面的 API,适用于php8及以上

License

Notifications You must be signed in to change notification settings

kylin987/yop-php8-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FOSSA Status

环境依赖

php v8.0+ 安装php的mcrypt扩展 openssl,启用模块curl

目录结构描述

├──src
│   ├── Util                        // 工具类
│   │   ├── AESEncrypter.php        // AES函数集
│   │   ├── Base64Url.php           // Base64Url函数集
│   │   ├── BlowfishEncrypter.php   // 加解密处理
│   │   ├── HttpRequest.php         // Http请求函数集
│   │   ├── HttpUtils.php           // Http处理共通函数集
│   │   ├── StringBuilder.php       // 字符串创建函数集
│   │   ├── StringUtils             // 字符串处理函数集
│   │   └── YopSignUtils.php        // YOP签名共通函数集
│   ├── YopClient.php               // 对称秘钥请求处理函数集
│   ├── YopClient3.php              // 非对称秘钥请求处理函数集
│   ├── YopConfig.php               // YOP配置信息函数集
│   ├── YopRequest.php              // YOP请求处理函数集
│   ├── YopResponse.php             // YOP返回处理函数集
│   ├── test                        // 测试
│   │   ├── Info.php                // PHP环境测试页面
│   │   └── RsaTest.php             // 测试程序页面
│   ├── Readme.txt                  // help

接口调用说明

请求示例,参考./test/RsaTest.php

License

FOSSA Status

About

本项目用于对接 YOP 上面的 API,适用于php8及以上

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages