-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
41 lines (41 loc) · 1.15 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
{
"name": "mittwald/api-client-builder",
"description": "Toolset for building a PHP client for the mittwald mStudio API",
"type": "project",
"license": "MIT",
"autoload": {
"psr-4": {
"Mittwald\\ApiToolsPHP\\": "src/"
}
},
"authors": [
{
"name": "Martin Helmich",
"email": "[email protected]"
}
],
"require": {
"symfony/console": "^6.3",
"helmich/schema2class": "^3.3.10",
"openai-php/client": "^0.10.1",
"symfony/http-client": "^7.1",
"nyholm/psr7": "^1.8"
},
"scripts": {
"clone-target": "if [ -d .work ] ; then cd .work && git fetch && git checkout -- . && git clean -fxd . && git reset --hard origin/master ; else git clone https://github.com/mittwald/api-client-php.git ./.work ; fi",
"setup-target": "cd .work && composer install --no-interaction",
"generate": [
"@clone-target",
"@setup-target",
"php ./cmd/generate.php generate https://api.mittwald.de/openapi ./.work -v",
"cd .work && composer check"
]
},
"minimum-stability": "dev",
"prefer-stable": true,
"config": {
"allow-plugins": {
"php-http/discovery": true
}
}
}