-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomposer.json
55 lines (55 loc) · 1.59 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
48
49
50
51
52
53
54
55
{
"name": "php-ai/php-data-structures",
"type": "library",
"description": "Efficient data structures optimized for machine learning tasks written in pure PHP",
"keywords": [
"php",
"heap",
"binary heap",
"priority queue",
"data structures",
"kd tree"
],
"license": "MIT",
"authors": [
{
"name": "Arkadiusz Kondas",
"email": "[email protected]"
}
],
"require": {
"php": "^7.1"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^2.14",
"phpbench/phpbench": "^0.15.0",
"phpstan/phpstan": "^0.11.2",
"phpstan/phpstan-phpunit": "^0.11.0",
"phpstan/phpstan-strict-rules": "^0.11.0",
"phpunit/phpunit": "^8.0"
},
"autoload": {
"psr-4": {
"PhpAi\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"PhpAi\\Tests\\": "tests/",
"PhpAi\\Benchmarks\\": "benchmarks/"
}
},
"scripts": {
"bench-memory": "./vendor/bin/phpbench run --report=memory --retry-threshold=2",
"bench-time": "./vendor/bin/phpbench run --report=time --retry-threshold=2",
"build": [
"@check-cs",
"@phpstan",
"@test"
],
"check-cs": "./vendor/bin/php-cs-fixer fix --config=.php_cs --dry-run",
"fix-cs": "./vendor/bin/php-cs-fixer fix --config=.php_cs",
"phpstan": "./vendor/bin/phpstan analyze src tests --level max --configuration phpstan.neon",
"test": "./vendor/bin/phpunit"
}
}