1{
2    "name": "mehrab-wj/tiktoken-php",
3    "description": "a clone of python tiktoken but for PHP! fast BPE tokeniser for use with OpenAI's models.",
4    "type": "library",
5    "license": "MIT",
6    "authors": [
7        {
8            "name": "Mehrab Hojjati Pour",
9            "email": "thisismehrab@gmail.com"
10        }
11    ],
12    "autoload": {
13        "psr-4": {
14            "TikToken\\": "src"
15        }
16    },
17    "autoload-dev": {
18        "psr-4": {
19            "Tests\\": "tests/"
20        }
21    },
22    "minimum-stability": "stable",
23    "require": {
24        "php": "^8.1",
25        "ext-mbstring": "*"
26    },
27    "require-dev": {
28        "phpunit/phpunit": "^9.5",
29        "symfony/var-dumper": "^6.2",
30        "rector/rector": "^0.15.12",
31        "phpstan/phpstan": "^1.9",
32        "friendsofphp/php-cs-fixer": "^3.14"
33    },
34    "scripts": {
35        "test:analyze": "phpstan analyse src",
36        "test:lint": "php-cs-fixer fix",
37        "test:refactor": "rector",
38        "test:unit": "phpunit tests",
39        "tests": [
40            "@test:analyze",
41            "@test:lint",
42            "@test:refactor",
43            "@test:unit"
44        ]
45    }
46}
47