Add wikimedia/json-codec 2.2.1
[mediawiki.git] / composer.json
blob843308f9bbd20e4374f276389f0990b6bf3d141a
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/json-codec": "2.2.1",
66                 "wikimedia/less.php": "4.1.1",
67                 "wikimedia/minify": "2.5.1",
68                 "wikimedia/normalized-exception": "1.0.1",
69                 "wikimedia/object-factory": "5.0.1",
70                 "wikimedia/parsoid": "^0.19.0-a1@alpha",
71                 "wikimedia/php-session-serializer": "2.0.1",
72                 "wikimedia/purtle": "1.0.8",
73                 "wikimedia/relpath": "3.0.0",
74                 "wikimedia/remex-html": "4.0.1",
75                 "wikimedia/request-timeout": "1.2.0",
76                 "wikimedia/running-stat": "2.1.0",
77                 "wikimedia/scoped-callback": "4.0.0",
78                 "wikimedia/services": "3.0.0",
79                 "wikimedia/shellbox": "4.0.0",
80                 "wikimedia/utfnormal": "4.0.0",
81                 "wikimedia/timestamp": "4.1.1",
82                 "wikimedia/wait-condition-loop": "2.0.2",
83                 "wikimedia/wrappedstring": "4.0.1",
84                 "wikimedia/xmp-reader": "0.9.1",
85                 "zordius/lightncandy": "1.2.6"
86         },
87         "require-dev": {
88                 "composer/spdx-licenses": "1.5.7",
89                 "doctrine/dbal": "3.4.2",
90                 "doctrine/sql-formatter": "1.1.1",
91                 "ext-simplexml": "*",
92                 "giorgiosironi/eris": "^0.13.0",
93                 "hamcrest/hamcrest-php": "^2.0",
94                 "johnkary/phpunit-speedtrap": "^4.0",
95                 "mediawiki/mediawiki-codesniffer": "42.0.0",
96                 "mediawiki/mediawiki-phan-config": "0.13.0",
97                 "nikic/php-parser": "^4.10.2",
98                 "php-parallel-lint/php-console-highlighter": "1.0.0",
99                 "php-parallel-lint/php-parallel-lint": "1.3.2",
100                 "phpunit/phpunit": "9.5.28",
101                 "psy/psysh": "^0.11.1",
102                 "seld/jsonlint": "1.8.3",
103                 "wikimedia/alea": "1.0.0",
104                 "wikimedia/langconv": "^0.4.2",
105                 "wikimedia/testing-access-wrapper": "~2.0",
106                 "wmde/hamcrest-html-matchers": "^1.0.0"
107         },
108         "replace": {
109                 "symfony/polyfill-ctype": "1.99",
110                 "symfony/polyfill-mbstring": "1.99"
111         },
112         "suggest": {
113                 "ext-apcu": "Faster web responses overall.",
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-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
118                 "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
119                 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
120                 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
121                 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
122                 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
123                 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
124                 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
125                 "ext-wikidiff2": "Faster text difference engine.",
126                 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
127                 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
128         },
129         "autoload": {
130                 "psr-0": {
131                         "ComposerHookHandler": "includes/composer",
132                         "ComposerVendorHtaccessCreator": "includes/composer",
133                         "ComposerPhpunitXmlCoverageEdit": "includes/composer"
134                 }
135         },
136         "autoload-dev": {
137                 "files": [
138                         "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
139                         "vendor/wmde/hamcrest-html-matchers/src/functions.php"
140                 ]
141         },
142         "scripts": {
143                 "mw-install:sqlite": "php maintenance/install.php --server=http://localhost:4000 --dbtype sqlite --dbpath cache/ --scriptpath '' --pass adminpassword MediaWiki Admin",
144                 "serve": "php -S localhost:4000",
145                 "lint": "parallel-lint --exclude node_modules --exclude vendor",
146                 "phan": "phan -d . --long-progress-bar",
147                 "phpcs": "phpcs -p -s --cache",
148                 "fix": [
149                         "phpcbf"
150                 ],
151                 "pre-install-cmd": "ComposerHookHandler::onPreInstall",
152                 "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
153                 "post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
154                 "post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
155                 "releasenotes": "@phpunit:entrypoint --group ReleaseNotes",
156                 "test": [
157                         "@lint .",
158                         "@phpcs ."
159                 ],
160                 "test-some": [
161                         "@lint",
162                         "@phpcs"
163                 ],
164                 "phpunit": "phpunit",
165                 "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
166                 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
167                 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
168                 "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
169                 "phpunit:entrypoint": "@phpunit -c tests/phpunit/suite.xml"
170         },
171         "config": {
172                 "optimize-autoloader": true,
173                 "prepend-autoloader": false,
174                 "allow-plugins": {
175                         "composer/package-versions-deprecated": true,
176                         "wikimedia/composer-merge-plugin": true,
177                         "composer/installers": true
178                 }
179         },
180         "extra": {
181                 "merge-plugin": {
182                         "include": [
183                                 "composer.local.json"
184                         ],
185                         "merge-dev": false
186                 }
187         }