Update git submodules
[mediawiki.git] / composer.json
blob8988615620fba0f5248fe0a7ccf020ba9b63e067
2         "name": "mediawiki/core",
3         "description": "Free software wiki application developed by the Wikimedia Foundation and others",
4         "type": "mediawiki-core",
5         "keywords": [
6                 "mediawiki",
7                 "wiki"
8         ],
9         "homepage": "https://www.mediawiki.org/",
10         "authors": [
11                 {
12                         "name": "MediaWiki Community",
13                         "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
14                 }
15         ],
16         "license": "GPL-2.0-or-later",
17         "support": {
18                 "issues": "https://phabricator.wikimedia.org/",
19                 "irc": "irc://irc.libera.chat/mediawiki",
20                 "wiki": "https://www.mediawiki.org/"
21         },
22         "prefer-stable": true,
23         "require": {
24                 "composer/semver": "3.3.2",
25                 "cssjanus/cssjanus": "2.1.1",
26                 "ext-calendar": "*",
27                 "ext-ctype": "*",
28                 "ext-dom": "*",
29                 "ext-fileinfo": "*",
30                 "ext-iconv": "*",
31                 "ext-intl": "*",
32                 "ext-json": "*",
33                 "ext-libxml": "*",
34                 "ext-mbstring": "*",
35                 "ext-xml": "*",
36                 "ext-xmlreader": "*",
37                 "guzzlehttp/guzzle": "7.5.3",
38                 "justinrainbow/json-schema": "5.2.13",
39                 "liuggio/statsd-php-client": "1.0.18",
40                 "monolog/monolog": "2.2.0",
41                 "oojs/oojs-ui": "0.48.1",
42                 "pear/mail": "1.5.1",
43                 "pear/mail_mime": "1.10.11",
44                 "pear/net_smtp": "1.10.1",
45                 "php": ">=7.4.3",
46                 "psr/container": "1.1.2",
47                 "psr/http-message": "1.0.1",
48                 "psr/log": "1.1.4",
49                 "ralouphie/getallheaders": "3.0.3",
50                 "symfony/polyfill-php80": "1.28.0",
51                 "symfony/polyfill-php81": "1.28.0",
52                 "symfony/polyfill-php82": "1.28.0",
53                 "symfony/polyfill-php83": "1.28.0",
54                 "symfony/yaml": "5.4.23",
55                 "wikimedia/assert": "0.5.1",
56                 "wikimedia/at-ease": "2.1.0",
57                 "wikimedia/base-convert": "2.0.2",
58                 "wikimedia/bcp-47-code": "2.0.0",
59                 "wikimedia/cdb": "3.0.0",
60                 "wikimedia/cldr-plural-rule-parser": "2.0.0",
61                 "wikimedia/common-passwords": "0.5.0",
62                 "wikimedia/composer-merge-plugin": "2.1.0",
63                 "wikimedia/html-formatter": "4.0.3",
64                 "wikimedia/ip-utils": "5.0.0",
65                 "wikimedia/less.php": "4.4.1",
66                 "wikimedia/minify": "2.5.1",
67                 "wikimedia/normalized-exception": "1.0.1",
68                 "wikimedia/object-factory": "5.0.1",
69                 "wikimedia/parsoid": "0.18.2",
70                 "wikimedia/php-session-serializer": "2.0.1",
71                 "wikimedia/purtle": "1.0.8",
72                 "wikimedia/relpath": "3.0.0",
73                 "wikimedia/remex-html": "4.0.1",
74                 "wikimedia/request-timeout": "1.2.0",
75                 "wikimedia/running-stat": "2.1.0",
76                 "wikimedia/scoped-callback": "4.0.0",
77                 "wikimedia/services": "3.0.0",
78                 "wikimedia/shellbox": "4.0.0",
79                 "wikimedia/utfnormal": "4.0.0",
80                 "wikimedia/timestamp": "4.1.1",
81                 "wikimedia/wait-condition-loop": "2.0.2",
82                 "wikimedia/wrappedstring": "4.0.1",
83                 "wikimedia/xmp-reader": "0.9.1",
84                 "zordius/lightncandy": "1.2.6"
85         },
86         "require-dev": {
87                 "composer/spdx-licenses": "1.5.7",
88                 "doctrine/dbal": "3.4.2",
89                 "doctrine/sql-formatter": "1.1.1",
90                 "ext-simplexml": "*",
91                 "giorgiosironi/eris": "^0.13.0",
92                 "hamcrest/hamcrest-php": "^2.0",
93                 "johnkary/phpunit-speedtrap": "^4.0",
94                 "mediawiki/mediawiki-codesniffer": "42.0.0",
95                 "mediawiki/mediawiki-phan-config": "0.13.0",
96                 "nikic/php-parser": "^4.10.2",
97                 "php-parallel-lint/php-console-highlighter": "1.0.0",
98                 "php-parallel-lint/php-parallel-lint": "1.3.2",
99                 "phpunit/phpunit": "9.5.28",
100                 "psy/psysh": "^0.12.3",
101                 "seld/jsonlint": "1.8.3",
102                 "wikimedia/alea": "1.0.0",
103                 "wikimedia/langconv": "^0.4.2",
104                 "wikimedia/testing-access-wrapper": "^3.0.0",
105                 "wmde/hamcrest-html-matchers": "^1.0.0"
106         },
107         "replace": {
108                 "symfony/polyfill-ctype": "1.99",
109                 "symfony/polyfill-mbstring": "1.99"
110         },
111         "suggest": {
112                 "ext-apcu": "Faster web responses overall.",
113                 "ext-bcmath": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-gmp are needed for scrambling Temporary Accounts.",
114                 "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
115                 "ext-exif": "Enable processing of EXIF information in file uploads.",
116                 "ext-gd": "Enable thumbnails for file uploads.",
117                 "ext-gmp": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-bcmath are needed for scrambling Temporary Accounts.",
118                 "ext-igbinary": "Enables use of igbinary for serialisation.",
119                 "ext-imagick": "Enables use of imagemagick for image manipulation.",
120                 "ext-memcached": "Enables use of Memcached for caching purposes.",
121                 "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
122                 "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
123                 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
124                 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
125                 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
126                 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
127                 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
128                 "ext-redis": "Enables use of Redis for caching purposes.",
129                 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
130                 "ext-wikidiff2": "Faster text difference engine.",
131                 "ext-wincache": "Enables use of WinCache on Windows.",
132                 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
133                 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
134         },
135         "autoload": {
136                 "psr-0": {
137                         "ComposerHookHandler": "includes/composer",
138                         "ComposerVendorHtaccessCreator": "includes/composer",
139                         "ComposerPhpunitXmlCoverageEdit": "includes/composer"
140                 }
141         },
142         "autoload-dev": {
143                 "files": [
144                         "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
145                         "vendor/wmde/hamcrest-html-matchers/src/functions.php"
146                 ]
147         },
148         "scripts": {
149                 "mw-install:sqlite": "@php maintenance/install.php --server=http://localhost:4000 --dbtype sqlite --dbpath cache/ --scriptpath '' --pass adminpassword MediaWiki Admin",
150                 "serve": "@php -S localhost:4000",
151                 "lint": "parallel-lint --exclude node_modules --exclude vendor",
152                 "phan": "phan -d . --long-progress-bar",
153                 "phpcs": "phpcs -p -s --cache",
154                 "fix": [
155                         "phpcbf"
156                 ],
157                 "pre-install-cmd": "ComposerHookHandler::onPreInstall",
158                 "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
159                 "post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
160                 "post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
161                 "releasenotes": "@phpunit:entrypoint --group ReleaseNotes",
162                 "test": [
163                         "@lint .",
164                         "@phpcs ."
165                 ],
166                 "test-some": [
167                         "@lint",
168                         "@phpcs"
169                 ],
170                 "phpunit": "phpunit",
171                 "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
172                 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
173                 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
174                 "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
175                 "phpunit:entrypoint": "@phpunit -c tests/phpunit/suite.xml"
176         },
177         "config": {
178                 "optimize-autoloader": true,
179                 "prepend-autoloader": false,
180                 "allow-plugins": {
181                         "composer/package-versions-deprecated": true,
182                         "wikimedia/composer-merge-plugin": true,
183                         "composer/installers": true
184                 }
185         },
186         "extra": {
187                 "merge-plugin": {
188                         "include": [
189                                 "composer.local.json"
190                         ],
191                         "merge-dev": false
192                 }
193         }