-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
104 lines (104 loc) · 3.12 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
{
"name": "modelflow-ai/fireworksai-adapter",
"description": "Integrates the LLMs from fireworks.ai into modelflow-ai.",
"type": "library",
"license": "MIT",
"keywords": [
"ai",
"fireworks",
"llama3",
"llama3.1"
],
"autoload": {
"psr-4": {
"ModelflowAi\\FireworksAiAdapter\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ModelflowAi\\FireworksAiAdapter\\Tests\\": "tests/"
}
},
"authors": [
{
"name": "Johannes Wachter",
"email": "[email protected]"
}
],
"require": {
"php": "^8.2",
"openai-php/client": "^0.10",
"symfony/http-client": "^6.4 || ^7.0",
"nyholm/psr7": "^1.8"
},
"require-dev": {
"modelflow-ai/chat": "^0.2",
"modelflow-ai/completion": "^0.2",
"modelflow-ai/embeddings": "^0.2",
"modelflow-ai/image": "^0.2",
"modelflow-ai/prompt-template": "^0.2",
"php-cs-fixer/shim": "^3.15",
"phpstan/extension-installer": "^1.2",
"phpstan/phpstan": "^1.10, <1.10.55",
"phpstan/phpstan-phpunit": "^1.3@stable",
"phpunit/phpunit": "^10.3",
"rector/rector": "^0.18.1",
"phpspec/prophecy": "^1.0@dev",
"jangregor/phpstan-prophecy": "^1.0",
"phpspec/prophecy-phpunit": "^2.1@stable",
"symfony/dotenv": "^7.1",
"symfony/console": "^7.1",
"asapo/remove-vendor-plugin": "^0.1",
"symfony/cache": "^7.1"
},
"suggest": {
"modelflow-ai/chat": "To use the chat-completion.",
"modelflow-ai/embeddings": "To use the embeddings.",
"modelflow-ai/image": "To use the image generation."
},
"scripts": {
"test-with-coverage": "@test --coverage-php var/reports/coverage.cov --coverage-cobertura=var/cobertura-coverage.xml --coverage-html var/reports/html --log-junit var/reports/junit.xml",
"test": [
"Composer\\Config::disableProcessTimeout",
"vendor/bin/phpunit"
],
"phpstan": "@php vendor/bin/phpstan analyze",
"lint-rector": "@php vendor/bin/rector process --dry-run",
"lint-php-cs": "@php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"lint": [
"@phpstan",
"@lint-php-cs",
"@lint-rector",
"@lint-composer"
],
"lint-composer": "@composer validate --strict",
"rector": "@php vendor/bin/rector process",
"php-cs-fix": "@php vendor/bin/php-cs-fixer fix",
"fix": [
"@rector",
"@php-cs-fix"
]
},
"repositories": [
{
"type": "path",
"url": "./../*",
"options": {
"symlink": false
}
}
],
"minimum-stability": "dev",
"config": {
"allow-plugins": {
"phpstan/extension-installer": true,
"php-http/discovery": true,
"asapo/remove-vendor-plugin": true
}
},
"extra": {
"remove-folders": [
"modelflow-ai/*/vendor"
]
}
}