forked from sulu/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
composer.json
187 lines (187 loc) · 6.79 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
{
"name": "sulu/skeleton",
"license": "MIT",
"type": "project",
"description": "Project template for starting your new project based on the Sulu content management system",
"homepage": "https://sulu.io/",
"keywords": [
"symfony",
"sulu",
"sulucms",
"cms",
"web-application",
"platform",
"data-managment",
"project-template"
],
"authors": [
{
"name": "Sulu Community",
"homepage": "https://github.com/sulu/skeleton/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/sulu/skeleton/issues",
"source": "https://github.com/sulu/skeleton",
"docs": "https://docs.sulu.io/",
"chat": "https://sulu.io/services-and-support#chat"
},
"require": {
"php": "^8.1",
"ext-ctype": "*",
"ext-iconv": "*",
"dantleech/phpcr-migrations-bundle": "^1.3",
"doctrine/doctrine-bundle": "^2.5",
"doctrine/doctrine-fixtures-bundle": "^3.4",
"friendsofsymfony/http-cache-bundle": "^2.10.1",
"handcraftedinthealps/zendsearch": "^2.1",
"jackalope/jackalope-doctrine-dbal": "^1.7",
"scheb/2fa-bundle": "^6.1",
"scheb/2fa-email": "^6.1",
"scheb/2fa-trusted-device": "^6.1",
"sulu/sulu": "~2.5.9",
"symfony/config": "^6.2",
"symfony/dotenv": "^6.2",
"symfony/flex": "^1.17 || ^2.0",
"symfony/framework-bundle": "^6.2",
"symfony/mailer": "^6.2",
"symfony/monolog-bridge": "^6.2",
"symfony/monolog-bundle": "^3.4",
"symfony/runtime": "^6.2",
"symfony/security-bundle": "^6.2",
"symfony/twig-bundle": "^6.2"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.9",
"jangregor/phpstan-prophecy": "^1.0",
"phpcr/phpcr-shell": "^1.4",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.4",
"phpstan/phpstan-doctrine": "^1.2",
"phpstan/phpstan-phpunit": "^1.0",
"phpstan/phpstan-symfony": "^1.1",
"phpstan/phpstan-webmozart-assert": "^1.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.1",
"sulu/sulu-rector": "^0.1.3",
"symfony/browser-kit": "^6.2",
"symfony/css-selector": "^6.2",
"symfony/debug-bundle": "^6.2",
"symfony/error-handler": "^6.2",
"symfony/phpunit-bridge": "^6.2",
"symfony/thanks": "^1.2",
"symfony/web-profiler-bundle": "^6.2",
"thecodingmachine/phpstan-strict-rules": "^1.0"
},
"autoload": {
"psr-4": {
"App\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"App\\Tests\\": "tests/"
}
},
"replace": {
"paragonie/random_compat": "2.*",
"symfony/polyfill-ctype": "*",
"symfony/polyfill-iconv": "*",
"symfony/polyfill-php80": "*",
"symfony/polyfill-php74": "*",
"symfony/polyfill-php73": "*",
"symfony/polyfill-php72": "*",
"symfony/polyfill-php71": "*",
"symfony/polyfill-php70": "*",
"symfony/polyfill-php56": "*"
},
"scripts": {
"auto-scripts": {
"cache:clear": "symfony-cmd",
"assets:install %PUBLIC_DIR%": "symfony-cmd",
"bin/websiteconsole cache:clear": "php-script",
"bin/adminconsole sulu:media:init": "php-script",
"bin/adminconsole massive:search:init": "php-script"
},
"post-install-cmd": [
"@auto-scripts"
],
"post-update-cmd": [
"@auto-scripts"
],
"post-root-package-install": [
"@php -r \"file_put_contents('.env.local', 'APP_ENV=dev' . PHP_EOL);\"",
"@php -r \"file_put_contents('.env', str_replace('APP_SECRET=\\'s\\$cretf0rt3st\\'', 'APP_SECRET=' . bin2hex(random_bytes(16)), file_get_contents('.env')));\""
],
"post-create-project-cmd": [
"@php -r \"file_put_contents('.gitignore', str_replace(['composer.lock' . PHP_EOL, 'symfony.lock' . PHP_EOL, 'package-lock.json' . PHP_EOL], ['', '', ''], file_get_contents('.gitignore')));\"",
"@php bin/adminconsole sulu:admin:info --ansi"
],
"bootstrap-test-environment": [
"@php bin/adminconsole doctrine:database:drop --if-exists --force --env test",
"@php bin/adminconsole doctrine:database:create --env test",
"@php bin/adminconsole doctrine:schema:create --env test"
],
"test": "@php bin/phpunit",
"test-with-coverage": "@test --coverage-php var/reports/coverage.php --coverage-cobertura=var/reports/cobertura-coverage.xml --coverage-html var/reports/html --log-junit var/reports/junit.xml",
"lint": [
"@phpstan",
"@lint-php-cs",
"@lint-rector",
"@lint-twig",
"@lint-yaml",
"@lint-container",
"@lint-composer",
"@lint-doctrine"
],
"fix": [
"@rector",
"@php-cs-fix"
],
"phpstan": [
"@php bin/websiteconsole cache:warmup --env=dev",
"@php vendor/bin/phpstan analyze"
],
"rector": [
"@php vendor/bin/rector process"
],
"lint-rector": [
"@php bin/websiteconsole cache:warmup --env=dev",
"@php vendor/bin/rector process --dry-run"
],
"php-cs-fix": "@php vendor/bin/php-cs-fixer fix",
"lint-php-cs": "@php vendor/bin/php-cs-fixer fix --verbose --diff --dry-run",
"lint-composer": "@composer validate --no-check-publish --strict",
"lint-twig": "@php bin/console lint:twig templates/",
"lint-yaml": "@php bin/console lint:yaml config/ --parse-tags",
"lint-container": [
"@php bin/console lint:container --env dev",
"@php bin/console lint:container --env test",
"@php bin/console lint:container --env stage",
"@php bin/console lint:container --env prod"
],
"lint-doctrine": [
"@php bin/console doctrine:schema:validate --skip-sync",
"@php bin/console doctrine:ensure-production-settings --env stage",
"@php bin/console doctrine:ensure-production-settings --env prod"
]
},
"config": {
"allow-plugins": {
"composer/package-versions-deprecated": true,
"php-http/discovery": true,
"symfony/flex": true,
"symfony/runtime": true,
"symfony/thanks": true,
"phpstan/extension-installer": true
},
"optimize-autoloader": true,
"sort-packages": true
},
"extra": {
"symfony": {
"allow-contrib": true
}
}
}