forked from cakephp/cakephp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
149 lines (149 loc) · 5.41 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
{
"name": "cakephp/cakephp",
"type": "library",
"description": "The CakePHP framework",
"keywords": [
"framework",
"mvc",
"rapid-development",
"conventions over configuration",
"dry",
"orm",
"form",
"validation",
"psr-7"
],
"homepage": "https://cakephp.org",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/cakephp/graphs/contributors"
}
],
"require": {
"php": ">=8.1",
"ext-intl": "*",
"ext-json": "*",
"ext-mbstring": "*",
"cakephp/chronos": "^3.1",
"composer/ca-bundle": "^1.5",
"laminas/laminas-diactoros": "^3.3",
"laminas/laminas-httphandlerrunner": "^2.6",
"league/container": "^4.2",
"psr/container": "^1.1 || ^2.0",
"psr/http-client": "^1.0.2",
"psr/http-factory": "^1.1",
"psr/http-message": "^1.1 || ^2.0",
"psr/http-server-handler": "^1.0.2",
"psr/http-server-middleware": "^1.0.2",
"psr/log": "^3.0",
"psr/simple-cache": "^2.0 || ^3.0"
},
"replace": {
"cakephp/cache": "self.version",
"cakephp/collection": "self.version",
"cakephp/console": "self.version",
"cakephp/core": "self.version",
"cakephp/database": "self.version",
"cakephp/datasource": "self.version",
"cakephp/event": "self.version",
"cakephp/form": "self.version",
"cakephp/http": "self.version",
"cakephp/i18n": "self.version",
"cakephp/log": "self.version",
"cakephp/orm": "self.version",
"cakephp/utility": "self.version",
"cakephp/validation": "self.version"
},
"require-dev": {
"cakephp/cakephp-codesniffer": "^5.0",
"http-interop/http-factory-tests": "^2.0",
"mikey179/vfsstream": "^1.6.10",
"mockery/mockery": "^1.6",
"paragonie/csp-builder": "^2.3 || ^3.0",
"phpstan/phpstan": "1.12.7",
"phpstan/extension-installer": "^1.3",
"symplify/phpstan-rules": "^12.4",
"phpunit/phpunit": "^10.5.5 || ^11.1.3"
},
"suggest": {
"ext-curl": "To enable more efficient network calls in Http\\Client.",
"ext-openssl": "To use Security::encrypt() or have secure CSRF token generation.",
"lib-ICU": "To use locale-aware features in the I18n and Database packages",
"paragonie/csp-builder": "CSP builder, to use the CSP Middleware"
},
"provide": {
"psr/container-implementation": "^2.0",
"psr/http-client-implementation": "^1.0",
"psr/http-factory-implementation": "^1.0",
"psr/http-server-handler-implementation": "^1.0",
"psr/http-server-middleware-implementation": "^1.0",
"psr/log-implementation": "^3.0",
"psr/simple-cache-implementation": "^3.0"
},
"config": {
"lock": false,
"process-timeout": 900,
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true,
"phpstan/extension-installer": true
}
},
"autoload": {
"psr-4": {
"Cake\\": "src/"
},
"files": [
"src/Core/functions.php",
"src/Error/functions.php",
"src/Collection/functions.php",
"src/I18n/functions.php",
"src/ORM/bootstrap.php",
"src/Routing/functions.php",
"src/Utility/bootstrap.php"
]
},
"autoload-dev": {
"psr-4": {
"Cake\\PHPStan\\": "tests/PHPStan/",
"Cake\\Test\\": "tests/",
"TestApp\\": "tests/test_app/TestApp/",
"TestApp\\Test\\": "tests/test_app/TestApp/tests/",
"TestPlugin\\": "tests/test_app/Plugin/TestPlugin/src/",
"TestPlugin\\Test\\": "tests/test_app/Plugin/TestPlugin/tests/",
"TestPluginTwo\\": "tests/test_app/Plugin/TestPluginTwo/src/",
"Company\\TestPluginThree\\": "tests/test_app/Plugin/Company/TestPluginThree/src/",
"Company\\TestPluginThree\\Test\\": "tests/test_app/Plugin/Company/TestPluginThree/tests/",
"Named\\": "tests/test_app/Plugin/Named/src/"
}
},
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs --colors --parallel=16 -p",
"cs-fix": "phpcbf --colors --parallel=16 -p",
"phpstan": "phpstan analyse",
"psalm": "tools/psalm --show-info=false",
"stan": [
"@phpstan",
"@psalm"
],
"phpstan-tests": "phpstan analyze -c tests/phpstan.neon",
"phpstan-baseline": "phpstan --generate-baseline",
"psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
"stan-setup": "phive install",
"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",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover=clover.xml"
},
"support": {
"issues": "https://github.com/cakephp/cakephp/issues",
"forum": "https://discourse.cakephp.org/",
"source": "https://github.com/cakephp/cakephp"
}
}