-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
51 lines (51 loc) · 1000 Bytes
/
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
{
"name": "cxrxexo/tiktoken",
"type": "library",
"license": "MIT",
"description": "PHP version of tiktoken. PHP 7.4+ required.",
"keywords": [
"openai",
"tiktoken",
"tokenizer",
"bpe",
"encode",
"decode"
],
"require": {
"php": "^7.4",
"symfony/service-contracts": "^2.5"
},
"require-dev": {
"doctrine/coding-standard": "^11.1",
"phpunit/phpunit": "^9.0",
"psalm/plugin-phpunit": "^0.18.4",
"vimeo/psalm": "^5.12"
},
"autoload": {
"psr-4": {
"CxRxExO\\Tiktoken\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"CxRxExO\\Tiktoken\\Tests\\": "tests"
}
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"scripts": {
"check": [
"@cs-check",
"@analyse",
"@test"
],
"analyse": "psalm --stats",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always"
}
}