-
Notifications
You must be signed in to change notification settings - Fork 15
/
composer.json
47 lines (46 loc) · 1.42 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
{
"name": "caseyamcl/toc",
"type": "library",
"description": "Simple Table-of-Contents Generator for PHP. Generates TOCs based off H1...H6 tags",
"keywords": ["table of contents", "toc"],
"homepage": "https://github.com/caseyamcl/toc",
"license": "MIT",
"authors":
[
{
"name": "Casey McLaughlin",
"email": "[email protected]",
"homepage": "https://caseymclaughlin.com",
"role": "Developer"
}
],
"autoload": {
"psr-4": {
"TOC\\": ["src", "tests"]
}
},
"require": {
"php": "^8.2",
"ext-dom": "*",
"masterminds/html5": "^2.9",
"symfony/string": "^6.0|^7.0",
"symfony/translation-contracts": "^3.0",
"knplabs/knp-menu": "^3.5"
},
"require-dev": {
"twig/twig": "^3.0",
"phpunit/phpunit": "^11.0",
"squizlabs/php_codesniffer": "^3.5",
"phpstan/phpstan": "^2.0",
"jaschilz/php-coverage-badger": "^2.0"
},
"scripts": {
"test": " XDEBUG_MODE=coverage vendor/bin/phpunit; vendor/bin/php-coverage-badger build/logs/clover.xml ./coverage.svg",
"check-style": "phpcs -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"fix-style": "phpcbf -p --standard=PSR12 --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests",
"phpstan": "vendor/bin/phpstan analyse -l 7 src tests"
},
"config": {
"sort-packages": true
}
}