forked from yethee/tiktoken-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
44 lines (44 loc) · 986 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
{
"name": "nutshellcrm/tiktoken",
"type": "library",
"license": "MIT",
"description": "PHP version of tiktoken (forked for PHP 7)",
"keywords": ["openai", "tiktoken", "tokenizer", "bpe", "encode", "decode"],
"require": {
"php": "^7.3",
"symfony/service-contracts": "^2.5 || ^3.0"
},
"require-dev": {
"doctrine/coding-standard": "^11.1",
"phpunit/phpunit": "^9.6.10",
"psalm/plugin-phpunit": "^0.18.3",
"vimeo/psalm": "4.x-dev"
},
"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"
}
}