-
Notifications
You must be signed in to change notification settings - Fork 73
Expand file tree
/
Copy pathcomposer.json
More file actions
91 lines (91 loc) · 2.85 KB
/
Copy pathcomposer.json
File metadata and controls
91 lines (91 loc) · 2.85 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "wordpress/php-ai-client",
"description": "A provider agnostic PHP AI client SDK to communicate with any generative AI models of various capabilities using a uniform API.",
"license": "GPL-2.0-or-later",
"type": "library",
"keywords": [
"ai",
"api",
"llm"
],
"authors": [
{
"name": "WordPress AI Team",
"homepage": "https://make.wordpress.org/ai/"
}
],
"homepage": "https://github.com/WordPress/php-ai-client",
"support": {
"issues": "https://github.com/WordPress/php-ai-client/issues",
"source": "https://github.com/WordPress/php-ai-client"
},
"require": {
"php": ">=7.4",
"ext-json": "*",
"nyholm/psr7": "^1.8",
"php-http/discovery": "^1.0",
"php-http/httplug": "^2.0",
"psr/event-dispatcher": "^1.0",
"psr/http-client": "^1.0",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0 || ^2.0",
"psr/simple-cache": "^1.0 || ^2.0 || ^3.0"
},
"require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^1.0",
"guzzlehttp/psr7": "^1.0 || ^2.0",
"php-http/curl-client": "^2.0",
"php-http/mock-client": "^1.0",
"phpcompatibility/php-compatibility": "dev-develop",
"phpstan/phpstan": "~2.1",
"phpunit/phpunit": "^9.5 || ^10.0",
"slevomat/coding-standard": "^8.20",
"squizlabs/php_codesniffer": "^3.7 || ^4.0",
"symfony/dotenv": "^5.4",
"wordpress/anthropic-ai-provider": "^1.0",
"wordpress/google-ai-provider": "^1.0",
"wordpress/openai-ai-provider": "^1.0"
},
"suggest": {
"wordpress/anthropic-ai-provider": "For Anthropic Claude model support",
"wordpress/google-ai-provider": "For Google Gemini model support",
"wordpress/openai-ai-provider": "For OpenAI GPT model support"
},
"autoload": {
"psr-4": {
"WordPress\\AiClient\\": "src/"
},
"files": [
"src/polyfills.php"
]
},
"autoload-dev": {
"psr-4": {
"WordPress\\AiClient\\Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"php-http/discovery": true
},
"optimize-autoloader": true,
"platform": {
"php": "7.4"
},
"sort-packages": true
},
"scripts": {
"lint": [
"@phpcs",
"@phpstan"
],
"phpcbf": "phpcbf",
"phpcs": "phpcs",
"phpstan": "phpstan analyze --memory-limit=256M",
"phpunit": "phpunit",
"test": "@test:unit",
"test:unit": "phpunit --testsuite unit",
"test:integration": "phpunit --configuration phpunit-integration.xml.dist"
}
}