123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198 |
- {
- "name": "mediawiki/core",
- "description": "Free software wiki application developed by the Wikimedia Foundation and others",
- "type": "mediawiki-core",
- "keywords": [
- "mediawiki",
- "wiki"
- ],
- "homepage": "https://www.mediawiki.org/",
- "authors": [
- {
- "name": "MediaWiki Community",
- "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
- }
- ],
- "license": "GPL-2.0-or-later",
- "support": {
- "issues": "https://phabricator.wikimedia.org/",
- "irc": "irc://irc.libera.chat/mediawiki",
- "wiki": "https://www.mediawiki.org/"
- },
- "prefer-stable": true,
- "require": {
- "composer/semver": "3.4.0",
- "cssjanus/cssjanus": "2.1.1",
- "ext-calendar": "*",
- "ext-ctype": "*",
- "ext-dom": "*",
- "ext-fileinfo": "*",
- "ext-iconv": "*",
- "ext-intl": "*",
- "ext-json": "*",
- "ext-libxml": "*",
- "ext-mbstring": "*",
- "ext-xml": "*",
- "ext-xmlreader": "*",
- "guzzlehttp/guzzle": "7.7.1",
- "justinrainbow/json-schema": "5.2.13",
- "liuggio/statsd-php-client": "1.0.18",
- "mck89/peast": "1.16.2",
- "monolog/monolog": "2.9.2",
- "oojs/oojs-ui": "0.49.0",
- "pear/mail": "1.6.0",
- "pear/mail_mime": "1.10.11",
- "pear/net_smtp": "1.11.1",
- "php": ">=7.4.3",
- "psr/container": "1.1.2",
- "psr/http-message": "1.1",
- "psr/log": "1.1.4",
- "ralouphie/getallheaders": "3.0.3",
- "symfony/polyfill-php80": "1.28.0",
- "symfony/polyfill-php81": "1.28.0",
- "symfony/polyfill-php82": "1.28.0",
- "symfony/polyfill-php83": "1.28.0",
- "symfony/yaml": "5.4.31",
- "wikimedia/assert": "0.5.1",
- "wikimedia/at-ease": "2.1.0",
- "wikimedia/base-convert": "2.0.2",
- "wikimedia/bcp-47-code": "2.0.0",
- "wikimedia/cdb": "3.0.0",
- "wikimedia/cldr-plural-rule-parser": "2.0.0",
- "wikimedia/common-passwords": "0.5.0",
- "wikimedia/composer-merge-plugin": "2.1.0",
- "wikimedia/html-formatter": "4.1.0",
- "wikimedia/ip-utils": "5.0.0",
- "wikimedia/json-codec": "2.2.1",
- "wikimedia/less.php": "4.2.1",
- "wikimedia/minify": "2.7.0",
- "wikimedia/normalized-exception": "1.0.1",
- "wikimedia/object-factory": "5.0.1",
- "wikimedia/parsoid": "0.19.0-a23",
- "wikimedia/php-session-serializer": "2.0.1",
- "wikimedia/purtle": "1.0.8",
- "wikimedia/relpath": "4.0.0",
- "wikimedia/remex-html": "4.1.0",
- "wikimedia/request-timeout": "1.2.0",
- "wikimedia/running-stat": "2.1.0",
- "wikimedia/scoped-callback": "4.0.0",
- "wikimedia/services": "3.0.0",
- "wikimedia/shellbox": "4.0.2",
- "wikimedia/utfnormal": "4.0.0",
- "wikimedia/timestamp": "4.1.1",
- "wikimedia/wait-condition-loop": "2.0.2",
- "wikimedia/wrappedstring": "4.0.1",
- "wikimedia/xmp-reader": "0.9.1",
- "zordius/lightncandy": "1.2.6"
- },
- "require-dev": {
- "composer/spdx-licenses": "1.5.8",
- "doctrine/dbal": "3.7.2",
- "doctrine/sql-formatter": "1.1.3",
- "ext-simplexml": "*",
- "giorgiosironi/eris": "^0.14.0",
- "hamcrest/hamcrest-php": "^2.0",
- "johnkary/phpunit-speedtrap": "^4.0",
- "mediawiki/mediawiki-codesniffer": "43.0.0",
- "mediawiki/mediawiki-phan-config": "0.14.0",
- "nikic/php-parser": "^4.10.2",
- "php-parallel-lint/php-console-highlighter": "1.0.0",
- "php-parallel-lint/php-parallel-lint": "1.3.2",
- "phpunit/phpunit": "9.6.16",
- "psy/psysh": "^0.12.0",
- "seld/jsonlint": "1.10.1",
- "wikimedia/alea": "1.0.0",
- "wikimedia/langconv": "^0.4.2",
- "wikimedia/testing-access-wrapper": "^3.0.0",
- "wmde/hamcrest-html-matchers": "^1.0.0"
- },
- "replace": {
- "symfony/polyfill-ctype": "1.99",
- "symfony/polyfill-intl-grapheme": "1.17.1",
- "symfony/polyfill-intl-normalizer": "1.17.1",
- "symfony/polyfill-mbstring": "1.99"
- },
- "suggest": {
- "ext-apcu": "Faster web responses overall.",
- "ext-bcmath": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-gmp are needed for scrambling Temporary Accounts.",
- "ext-curl": "Faster HTTP services, e.g. when using InstantCommons, Swift, or Etcd.",
- "ext-exif": "Enable processing of EXIF information in file uploads.",
- "ext-gd": "Enable thumbnails for file uploads.",
- "ext-gmp": "Increased performance of some operations. Required especially on 32 bit machines. This or ext-bcmath are needed for scrambling Temporary Accounts.",
- "ext-mysqli": "Enable the MySQL and MariaDB database type for MediaWiki.",
- "ext-openssl": "Encrypt session data (or opt-out via $wgSessionInsecureSecrets).",
- "ext-pdo": "Enable the SQLite database type for MediaWiki.",
- "ext-pgsql": "Enable the PostgreSQL database type for MediaWiki.",
- "ext-posix": "Enable CLI concurrent processing, e.g. for runJobs.php.",
- "ext-pcntl": "Enable CLI concurrent processing, e.g. for runJobs.php and rebuildLocalisationCache.php.",
- "ext-readline": "Enable CLI history and autocomplete, e.g. for eval.php and other REPLs.",
- "ext-sockets": "Enable CLI concurrent processing, e.g. for rebuildLocalisationCache.php.",
- "ext-wikidiff2": "Faster text difference engine.",
- "ext-zlib": "Enable use of GZIP compression, e.g. for SqlBagOStuff (ParserCache), $wgCompressRevisions, or $wgUseFileCache.",
- "monolog/monolog": "Enable use of MonologSpi ($wgMWLoggerDefaultSpi)."
- },
- "autoload": {
- "psr-4": {
- "MediaWiki\\Composer\\": "includes/composer"
- }
- },
- "autoload-dev": {
- "files": [
- "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
- "vendor/wmde/hamcrest-html-matchers/src/functions.php"
- ]
- },
- "scripts": {
- "mw-install:sqlite": "@php maintenance/run.php install --server=http://localhost:4000 --dbtype sqlite --with-developmentsettings --dbpath cache/ --scriptpath= --pass adminpassword MediaWiki Admin",
- "serve": [
- "Composer\\Config::disableProcessTimeout",
- "@putenv MW_LOG_DIR=logs",
- "@putenv MW_LOG_STDERR=1",
- "@putenv PHP_CLI_SERVER_WORKERS=8",
- "@php -S 127.0.0.1:4000"
- ],
- "lint": "parallel-lint --exclude node_modules --exclude vendor",
- "phan": "phan -d . --long-progress-bar",
- "phpcs": "phpcs -p -s --cache",
- "fix": [
- "phpcbf"
- ],
- "pre-install-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
- "pre-update-cmd": "MediaWiki\\Composer\\VersionChecker::onEvent",
- "post-install-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
- "post-update-cmd": "MediaWiki\\Composer\\ComposerVendorHtaccessCreator::onEvent",
- "releasenotes": "@phpunit --group ReleaseNotes",
- "test": [
- "@lint .",
- "@phpcs ."
- ],
- "test-some": [
- "@lint",
- "@phpcs"
- ],
- "phpunit": "phpunit",
- "phpunit:unit": "@phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
- "phpunit:integration": "@phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
- "phpunit:coverage": "@phpunit --testsuite=core:unit --exclude-group Dump,Broken",
- "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent",
- "phpunit:entrypoint": "@phpunit"
- },
- "config": {
- "optimize-autoloader": true,
- "prepend-autoloader": false,
- "allow-plugins": {
- "wikimedia/composer-merge-plugin": true,
- "composer/installers": true,
- "dealerdirect/phpcodesniffer-composer-installer": true
- }
- },
- "extra": {
- "merge-plugin": {
- "include": [
- "composer.local.json"
- ],
- "merge-dev": false
- }
- }
- }
|