-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathcomposer.json
More file actions
61 lines (61 loc) · 1.66 KB
/
composer.json
File metadata and controls
61 lines (61 loc) · 1.66 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
{
"$schema": "https://getcomposer.org/schema.json",
"license": "MIT",
"autoload": {
"files": [
"src/Version.php"
],
"psr-4": {
"Anthropic\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"config": {
"allow-plugins": {
"pestphp/pest-plugin": true,
"php-http/discovery": false,
"phpstan/extension-installer": true
},
"platform": {
"php": "8.3"
},
"preferred-install": "dist",
"sort-packages": true
},
"description": "Anthropic PHP SDK",
"name": "anthropic-ai/sdk",
"require": {
"php": "^8.1",
"php-http/discovery": "^1",
"psr/http-client": "^1",
"psr/http-client-implementation": "^1",
"psr/http-factory-implementation": "^1",
"psr/http-message": "^1|^2"
},
"require-dev": {
"aws/aws-sdk-php": "^3.368",
"friendsofphp/php-cs-fixer": "^3",
"google/auth": "^1.49",
"nyholm/psr7": "^1",
"pestphp/pest": "^3",
"php-http/mock-client": "^1",
"phpstan/extension-installer": "^1",
"phpstan/phpstan": "^2",
"phpstan/phpstan-phpunit": "^2",
"phpunit/phpunit": "^11",
"symfony/http-client": "^7"
},
"scripts": {
"build:docs": "curl --etag-save ./vendor/ag.etags --etag-compare ./vendor/ag.etags --create-dirs --remote-name --output-dir ./vendor/bin --no-progress-meter -- https://github.com/ApiGen/ApiGen/releases/latest/download/apigen.phar && php ./vendor/bin/apigen.phar --output docs -- src",
"lint": "./scripts/lint",
"test": "./scripts/test"
},
"suggest": {
"aws/aws-sdk-php": "Allows using the AWS Bedrock SDK",
"google/auth": "Allows using the Google Vertex SDK"
}
}