-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathcomposer.json
72 lines (72 loc) · 1.57 KB
/
composer.json
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
{
"name": "gemini-api-php/client",
"description": "API client for Google's Gemini API",
"keywords": [
"php",
"client",
"sdk",
"api",
"google",
"gemini",
"gemini pro",
"gemini pro vision",
"ai"
],
"license": "MIT",
"authors": [
{
"name": "Erdem Köse",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"php-http/discovery": "^1.19",
"psr/http-client": "^1.0",
"psr/http-client-implementation": "*",
"psr/http-factory": "^1.0.2",
"psr/http-factory-implementation": "*",
"psr/http-message": "^1.0.1 || ^2.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.41",
"guzzlehttp/guzzle": "^7.8.0",
"guzzlehttp/psr7": "^2.0.0",
"phpstan/phpstan": "^1.10.50",
"phpunit/phpunit": "^10.5"
},
"suggest": {
"ext-curl": "Required for streaming responses"
},
"autoload": {
"psr-4": {
"GeminiAPI\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"GeminiAPI\\Tests\\": "tests/"
}
},
"minimum-stability": "stable",
"prefer-stable": true,
"config": {
"sort-packages": true,
"preferred-install": "dist",
"allow-plugins": {
"php-http/discovery": false
}
},
"scripts": {
"fix:style": "php-cs-fixer fix . -vv",
"test:style": "php-cs-fixer check . -vv",
"test:types": "phpstan analyse --ansi",
"test:unit": "phpunit --testsuite unit",
"test:unit-with-coverage": "phpunit --testsuite unit --coverage-text",
"test": [
"@test:style",
"@test:types",
"@test:unit"
]
}
}