-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
49 lines (49 loc) · 1.31 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
{
"name": "thojou/openai-php-client",
"description": "A user-friendly PHP library designed to facilitate interactions with the OpenAI Rest API.",
"type": "library",
"keywords": ["php","openai", "api", "gpt", "embeddings"],
"license": "MIT",
"authors": [
{
"name": "Thomas Joußen",
"email": "[email protected]"
}
],
"require": {
"php": "^8.1",
"symfony/http-client": "^6.3"
},
"require-dev": {
"phpunit/phpunit": "^10.3",
"phpstan/phpstan": "^1.10",
"friendsofphp/php-cs-fixer": "^3.23"
},
"autoload": {
"psr-4": {
"Thojou\\OpenAi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Thojou\\OpenAi\\Tests\\": "tests/"
}
},
"scripts": {
"check": [
"@cs-fixer:check",
"@phpstan",
"@test:coverage"
],
"dev": [
"@cs-fixer:fix",
"@phpstan",
"@test"
],
"cs-fixer:check": "php-cs-fixer fix --dry-run --diff -v",
"cs-fixer:fix": "php-cs-fixer fix --diff -v",
"phpstan": "phpstan analyse --memory-limit=1G",
"test": "phpunit",
"test:coverage": "phpunit --coverage-text --coverage-clover=clover.xml"
}
}