Repository navigation
Expand file tree
/
Copy pathcomposer.json
More file actions
56 lines (56 loc) · 1.87 KB
/
Copy pathcomposer.json
File metadata and controls
56 lines (56 loc) · 1.87 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
54
55
56
{
"name": "lalbert/tokenizer-engine",
"description": "Elasticsearch-like text analysis (character filters, tokenizers, token filters) in pure PHP, UTF-8 aware.",
"type": "library",
"license": "MIT",
"homepage": "https://github.com/lalbert/tokenizer-engine",
"keywords": ["tokenizer", "analyzer", "text-analysis", "elasticsearch", "ngram", "stemming", "stopwords", "normalization", "utf-8", "phonetic", "minhash", "chunking", "rag"],
"authors": [
{
"name": "Luc ALBERT",
"email": "lucalbert66@gmail.com",
"homepage": "https://github.com/lalbert",
"role": "Developer"
}
],
"support": {
"issues": "https://github.com/lalbert/tokenizer-engine/issues",
"source": "https://github.com/lalbert/tokenizer-engine"
},
"require": {
"php": ">=8.2",
"ext-mbstring": "*"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.64",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^11.4",
"wamania/php-stemmer": "^4.0"
},
"suggest": {
"ext-intl": "Unicode word and sentence segmentation, better ASCII folding, ICU normalization filters",
"wamania/php-stemmer": "Snowball stemmers (StemmerTokenFilter and the german, spanish, italian, portuguese, dutch analyzers)"
},
"autoload": {
"psr-4": {
"TokenizerEngine\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"TokenizerEngine\\Tests\\": "tests/"
}
},
"scripts": {
"test": "phpunit",
"parity": "phpunit --testsuite parity",
"analyse": "phpstan analyse",
"cs": "php-cs-fixer fix --dry-run --diff",
"cs-fix": "php-cs-fixer fix",
"ci": ["@cs", "@analyse", "@test"]
},
"config": {
"sort-packages": true
},
"minimum-stability": "stable"
}