2 "name": "mediawiki/core",
3 "description": "Free software wiki application developed by the Wikimedia Foundation and others",
4 "type": "mediawiki-core",
9 "homepage": "https://www.mediawiki.org/",
12 "name": "MediaWiki Community",
13 "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
16 "license": "GPL-2.0-or-later",
18 "issues": "https://phabricator.wikimedia.org/",
19 "irc": "irc://irc.libera.chat/mediawiki",
20 "wiki": "https://www.mediawiki.org/"
22 "prefer-stable": true,
24 "composer/semver": "3.4.0",
25 "cssjanus/cssjanus": "2.1.1",
37 "guzzlehttp/guzzle": "7.7.1",
38 "justinrainbow/json-schema": "5.2.13",
39 "liuggio/statsd-php-client": "1.0.18",
40 "mck89/peast": "1.16.2",
41 "monolog/monolog": "2.9.2",
42 "oojs/oojs-ui": "0.49.1",
44 "pear/mail_mime": "1.10.11",
45 "pear/net_smtp": "1.11.1",
47 "psr/container": "1.1.2",
48 "psr/http-message": "1.1",
50 "ralouphie/getallheaders": "3.0.3",
51 "symfony/polyfill-php80": "1.28.0",
52 "symfony/polyfill-php81": "1.28.0",
53 "symfony/polyfill-php82": "1.28.0",
54 "symfony/polyfill-php83": "1.28.0",
55 "symfony/yaml": "5.4.31",
56 "wikimedia/assert": "0.5.1",
57 "wikimedia/at-ease": "2.1.0",
58 "wikimedia/base-convert": "2.0.2",
59 "wikimedia/bcp-47-code": "2.0.0",
60 "wikimedia/cdb": "3.0.0",
61 "wikimedia/cldr-plural-rule-parser": "2.0.0",
62 "wikimedia/common-passwords": "0.5.0",
63 "wikimedia/composer-merge-plugin": "2.1.0",
64 "wikimedia/html-formatter": "4.1.0",
65 "wikimedia/ip-utils": "5.0.0",
66 "wikimedia/json-codec": "2.2.1",
67 "wikimedia/less.php": "4.2.1",
68 "wikimedia/minify": "2.7.0",
69 "wikimedia/normalized-exception": "1.0.1",
70 "wikimedia/object-factory": "5.0.1",
71 "wikimedia/parsoid": "0.19.0-a24",
72 "wikimedia/php-session-serializer": "2.0.1",
73 "wikimedia/purtle": "1.0.8",
74 "wikimedia/relpath": "4.0.0",
75 "wikimedia/remex-html": "4.1.0",
76 "wikimedia/request-timeout": "1.2.0",
77 "wikimedia/running-stat": "2.1.0",
78 "wikimedia/scoped-callback": "4.0.0",
79 "wikimedia/services": "3.0.0",
80 "wikimedia/shellbox": "4.0.2",
81 "wikimedia/utfnormal": "4.0.0",
82 "wikimedia/timestamp": "4.1.1",
83 "wikimedia/wait-condition-loop": "2.0.2",
84 "wikimedia/wrappedstring": "4.0.1",
85 "wikimedia/xmp-reader": "0.9.1",
86 "zordius/lightncandy": "1.2.6"
89 "composer/spdx-licenses": "1.5.8",
90 "doctrine/dbal": "3.7.2",
91 "doctrine/sql-formatter": "1.1.3",
93 "giorgiosironi/eris": "^0.14.0",
94 "hamcrest/hamcrest-php": "^2.0",
95 "johnkary/phpunit-speedtrap": "^4.0",
96 "mediawiki/mediawiki-codesniffer": "43.0.0",
97 "mediawiki/mediawiki-phan-config": "0.14.0",
98 "nikic/php-parser": "^4.10.2",
99 "php-parallel-lint/php-console-highlighter": "1.0.0",
100 "php-parallel-lint/php-parallel-lint": "1.4.0",
101 "phpunit/phpunit": "9.6.16",
102 "psy/psysh": "^0.12.0",
103 "seld/jsonlint": "1.10.1",
104 "wikimedia/alea": "1.0.0",
105 "wikimedia/langconv": "^0.4.2",
106 "wikimedia/testing-access-wrapper": "^3.0.0",
107 "wmde/hamcrest-html-matchers": "^1.0.0"
110 "symfony/polyfill-ctype": "1.99",
111 "symfony/polyfill-intl-grapheme": "1.17.1",
112 "symfony/polyfill-intl-normalizer": "1.17.1",
113 "symfony/polyfill-mbstring": "1.99"
116 "ext-apcu": "Faster web responses overall.",
117 "ext-bcmath": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-gmp are needed for scrambling Temporary Accounts.",
118 "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
119 "ext-exif": "Enable processing of EXIF information in file uploads.",
120 "ext-gd": "Enable thumbnails for file uploads.",
121 "ext-gmp": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-bcmath are needed for scrambling Temporary Accounts.",
122 "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
123 "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
124 "ext-pdo": "Enable the SQLite database type for MediaWiki.",
125 "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
126 "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
127 "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
128 "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
129 "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
130 "ext-wikidiff2": "Faster text difference engine.",
131 "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
132 "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
136 "MediaWiki\\Composer\\": "includes/composer"
141 "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
142 "vendor/wmde/hamcrest-html-matchers/src/functions.php"
146 "mw-install:sqlite": "@php maintenance/run.php install --server=http://localhost:4000 --dbtype sqlite --with-developmentsettings --dbpath cache/ --scriptpath= --pass adminpassword MediaWiki Admin",
148 "Composer\\Config::disableProcessTimeout",
149 "@putenv MW_LOG_DIR=logs",
150 "@putenv MW_LOG_STDERR=1",
151 "@putenv PHP_CLI_SERVER_WORKERS=8",
152 "@php -S 127.0.0.1:4000"
154 "lint": "parallel-lint --exclude node_modules --exclude vendor",
155 "phan": "phan -d . --long-progress-bar",
156 "phpcs": "phpcs -p -s --cache",
160 "pre-install-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
161 "pre-update-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
162 "post-install-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
163 "post-update-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
164 "releasenotes": "@phpunit --group ReleaseNotes",
173 "phpunit": "phpunit",
174 "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
175 "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
176 "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
177 "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
178 "phpunit:entrypoint": "@phpunit"
181 "optimize-autoloader": true,
182 "prepend-autoloader": false,
184 "wikimedia/composer-merge-plugin": true,
185 "composer/installers": true,
186 "dealerdirect/phpcodesniffer-composer-installer": true
192 "composer.local.json"