-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcomposer.json
54 lines (54 loc) · 1.5 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
{
"name": "passchn/cakephp-assets",
"description": "Asset management plugin for CakePHP",
"type": "cakephp-plugin",
"license": "MIT",
"require": {
"php": ">=8.1",
"ext-fileinfo": "*",
"cakephp/cakephp": "^5.0.0",
"intervention/image": "^2.7.2",
"josegonzalez/cakephp-upload": "^8.0",
"league/csv": "^9.8",
"nette/utils": "^3.2 || ^4.0.0"
},
"require-dev": {
"cakedc/cakephp-phpstan": "^3.0",
"cakephp/cakephp-codesniffer": "^5.1",
"phpunit/phpunit": "^10.1"
},
"autoload": {
"psr-4": {
"Assets\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Assets\\Test\\": "tests/",
"TestApp\\": "tests/test_app/src/",
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/"
}
},
"scripts": {
"cs-check": "phpcs --colors --parallel=16 -p src/ tests/",
"cs-fix": "phpcbf --colors --parallel=16 -p src/ tests/",
"phpstan": "tools/phpstan analyse",
"psalm": "tools/psalm --show-info=false",
"stan": [
"@phpstan",
"@psalm"
],
"stan-baseline": "tools/phpstan --generate-baseline",
"psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
"test": "phpunit",
"stan-setup": "phive install",
"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"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
},
"prefer-stable": true
}