Skip to content

Commit a002284

Browse files
author
苏青安
committed
feat(core): 首次提交
添加环境配置加载器、解密器接口及 AES 解密器实现,支持请求解密和异常处理
1 parent 10011fb commit a002284

File tree

10 files changed

+785
-0
lines changed

10 files changed

+785
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor/

composer.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"name": "hejunjie/encrypted-request",
3+
"description": "PHP 请求加密处理工具包,支持读取 .env 配置,验证签名、时间戳,并自动解密前端加密数据,允许自定义解密器与误差时间,方便快速集成安全加密通信",
4+
"type": "library",
5+
"license": "MIT",
6+
"autoload": {
7+
"psr-4": {
8+
"Hejunjie\\EncryptedRequest\\": "src/"
9+
}
10+
},
11+
"authors": [
12+
{
13+
"name": "何俊杰",
14+
"email": "junjie.he.925@gmail.com"
15+
}
16+
],
17+
"require": {
18+
"vlucas/phpdotenv": "^5.6"
19+
}
20+
}

0 commit comments

Comments
 (0)