forked from dereuromark/cakephp-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
74 lines (74 loc) · 2.1 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"name": "dereuromark/cakephp-tools",
"description": "A CakePHP plugin containing lots of useful and reusable tools",
"license": "MIT",
"type": "cakephp-plugin",
"keywords": [
"cakephp",
"plugin",
"tools",
"utils",
"helpers",
"components",
"behaviors",
"datasources"
],
"authors": [
{
"name": "Mark Scherer",
"homepage": "https://www.dereuromark.de",
"role": "Author"
}
],
"homepage": "https://github.com/dereuromark/cakephp-tools",
"support": {
"issues": "https://github.com/dereuromark/cakephp-tools/issues",
"source": "https://github.com/dereuromark/cakephp-tools"
},
"require": {
"php": ">=8.1",
"cakephp/cakephp": "^5.0.3",
"dereuromark/cakephp-shim": "^3.0.0"
},
"require-dev": {
"fig-r/psr2r-sniffer": "dev-next",
"mobiledetect/mobiledetectlib": "^3.74",
"phpunit/phpunit": "^10.1",
"yangqi/htmldom": "^1.0"
},
"suggest": {
"yangqi/htmldom": "For HtmlDom usage"
},
"minimum-stability": "stable",
"prefer-stable": true,
"autoload": {
"psr-4": {
"Tools\\": "src/",
"Tools\\Test\\Fixture\\": "tests/Fixture/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\PHPStan\\": "vendor/cakephp/cakephp/tests/PHPStan/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"TestApp\\": "tests/test_app/",
"Tools\\Test\\": "tests/"
}
},
"config": {
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
},
"process-timeout": 600
},
"scripts": {
"cs-check": "phpcs --extensions=php",
"cs-fix": "phpcbf --extensions=php",
"lowest": "validate-prefer-lowest",
"lowest-setup": "composer update --prefer-lowest --prefer-stable --prefer-dist --no-interaction && cp composer.json composer.backup && composer require --dev dereuromark/composer-prefer-lowest && mv composer.backup composer.json",
"stan": "phpstan analyse",
"stan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan:^1.0.0 && mv composer.backup composer.json",
"test": "phpunit",
"test-coverage": "phpunit --log-junit webroot/coverage/unitreport.xml --coverage-html webroot/coverage --coverage-clover webroot/coverage/coverage.xml"
}
}