forked from yethee/tiktoken-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
47 lines (47 loc) · 1.11 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
{
"name": "fourkitchens/tiktoken",
"type": "library",
"license": "MIT",
"description": "PHP version of tiktoken",
"keywords": ["openai", "tiktoken", "tokenizer", "bpe", "encode", "decode"],
"require": {
"php": "^8.1",
"symfony/service-contracts": "^2.5 || ^3.0"
},
"require-dev": {
"doctrine/coding-standard": "^12.0",
"mikey179/vfsstream": "^1.6.11",
"phpbench/phpbench": "^1.2",
"phpunit/phpunit": "^10.5.20",
"psalm/plugin-phpunit": "^0.19.0",
"vimeo/psalm": "5.23.1"
},
"autoload": {
"psr-4": {
"Yethee\\Tiktoken\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"Yethee\\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 --no-coverage",
"bench": "phpbench run -l dots --report=encode --retry-threshold=5 --profile=jit"
}
}