-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
76 lines (76 loc) · 2.19 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
{
"name": "thojou/llm-documents",
"description": "A PHP library adapting the original python Document transformation framework to improve vector search results",
"type": "library",
"keywords": ["library"],
"prefer-stable": true,
"license": "MIT",
"authors": [
{
"name": "Thomas Joußen",
"email": "[email protected]"
}
],
"require": {
"php": ">=8.1",
"ext-iconv": "*",
"google/apiclient": "^2.15",
"guzzlehttp/guzzle": "^7.8",
"html2text/html2text": "^4.3",
"soundasleep/html2text": "^2.1",
"spatie/crawler": "^8.0",
"symfony/mime": "^6.3",
"symfony/uid": "^6.3",
"thojou/openai-php-client": "dev-master",
"thojou/php-simple-api-client": "dev-master",
"yethee/tiktoken": "^0.1.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.23",
"nunomaduro/phpinsights": "^2.8",
"phpstan/extension-installer": "^1.3",
"phpstan/phpstan": "^1.10",
"phpstan/phpstan-phpunit": "^1.3",
"phpunit/phpunit": "^10.3"
},
"autoload": {
"psr-4": {
"Thojou\\LLMDocuments\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Thojou\\LLMDocuments\\Tests\\": "tests/"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"phpstan/extension-installer": true,
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"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",
"pre-autoload-dump": "Google\\Task\\Composer::cleanup"
},
"extra": {
"google/apiclient-services": [
"CustomSearchAPI"
]
}
}