-
Notifications
You must be signed in to change notification settings - Fork 30
Expand file tree
/
Copy pathcomposer.json
More file actions
53 lines (53 loc) · 1.22 KB
/
composer.json
File metadata and controls
53 lines (53 loc) · 1.22 KB
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
{
"name": "yethee/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": "^13",
"mikey179/vfsstream": "^1.6.11",
"phpbench/phpbench": "^1.2",
"phpunit/phpunit": "^10.5.45",
"psalm/plugin-phpunit": "^0.19.2",
"vimeo/psalm": "6.15.1"
},
"suggest": {
"ext-ffi": "To allow use LibEncoder"
},
"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",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always --no-coverage",
"bench": [
"Composer\\Config::disableProcessTimeout",
"phpbench run -l dots --report=agg_by_subject --report=enc_chart --profile=jit"
]
}
}