-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcomposer.json
More file actions
55 lines (55 loc) · 1.51 KB
/
composer.json
File metadata and controls
55 lines (55 loc) · 1.51 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{
"name": "zzhenping/replicate-client",
"type": "library",
"license": "MIT",
"keywords": [
"php",
"hyperf",
"replicate"
],
"description": "这是一个基于 Hyperf 框架封装的 PHP 客户端,用于调用 Replicate 的 AI 推理 API。支持同步推理、Webhook 通知、以及协程等待任务完成。",
"autoload": {
"psr-4": {
"Zzhenping\\ReplicateClient\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"HyperfTest\\": "tests"
}
},
"require": {
"php": ">=8.1",
"hyperf/guzzle": "^3.1",
"hyperf/config": "~3.1.0",
"hyperf/contract": "~3.1.0",
"hyperf/coroutine": "~3.1.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
"hyperf/di": "^3.1",
"mockery/mockery": "^1.0",
"phpstan/phpstan": "^1.0",
"phpunit/phpunit": "^10.0",
"swoole/ide-helper": "dev-master"
},
"suggest": {
"swow/swow": "Required to create swow components."
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"scripts": {
"test": "phpunit -c phpunit.xml --colors=always",
"analyse": "phpstan analyse --memory-limit 1024M -l 0 ./src",
"cs-fix": "php-cs-fixer fix $1"
},
"extra": {
"hyperf": {
"config": "Zzhenping\\ReplicateClient\\ConfigProvider"
}
}
}