wikimedia/mediawiki-core

View on GitHub
composer.json

Summary

Maintainability
Test Coverage
{
    "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://bugs.mediawiki.org/",
        "irc": "irc://irc.freenode.net/mediawiki",
        "wiki": "https://www.mediawiki.org/"
    },
    "prefer-stable": true,
    "require": {
        "composer/semver": "1.5.1",
        "cssjanus/cssjanus": "1.3.0",
        "ext-ctype": "*",
        "ext-dom": "*",
        "ext-fileinfo": "*",
        "ext-iconv": "*",
        "ext-json": "*",
        "ext-mbstring": "*",
        "ext-xml": "*",
        "guzzlehttp/guzzle": "7.0.1",
        "liuggio/statsd-php-client": "1.0.18",
        "oojs/oojs-ui": "0.40.3",
        "pear/mail": "1.4.1",
        "pear/mail_mime": "1.10.9",
        "pear/net_smtp": "1.9.2",
        "php": ">=7.2.22",
        "psr/container": "1.0.0",
        "psr/log": "1.1.3",
        "ralouphie/getallheaders": "3.0.3",
        "wikimedia/assert": "0.5.0",
        "wikimedia/at-ease": "2.0.0",
        "wikimedia/base-convert": "2.0.1",
        "wikimedia/cdb": "1.4.1",
        "wikimedia/cldr-plural-rule-parser": "1.0.0",
        "wikimedia/common-passwords": "0.2.0",
        "wikimedia/composer-merge-plugin": "1.4.1",
        "wikimedia/html-formatter": "2.0.0",
        "wikimedia/ip-set": "2.1.0",
        "wikimedia/ip-utils": "1.0.0",
        "wikimedia/less.php": "3.0.0",
        "wikimedia/object-factory": "2.1.0",
        "wikimedia/parsoid": "^0.13.0-a4@alpha",
        "wikimedia/php-session-serializer": "1.0.7",
        "wikimedia/purtle": "1.0.7",
        "wikimedia/relpath": "2.1.1",
        "wikimedia/remex-html": "2.2.0",
        "wikimedia/running-stat": "1.2.1",
        "wikimedia/scoped-callback": "3.0.0",
        "wikimedia/services": "2.0.1",
        "wikimedia/utfnormal": "2.0.0",
        "wikimedia/timestamp": "3.0.0",
        "wikimedia/wait-condition-loop": "1.0.1",
        "wikimedia/wrappedstring": "3.2.0",
        "wikimedia/xmp-reader": "0.7.0",
        "zordius/lightncandy": "1.2.5"
    },
    "require-dev": {
        "composer/spdx-licenses": "1.5.4",
        "doctrine/dbal": "2.10.4",
        "doctrine/sql-formatter": "1.1.1",
        "giorgiosironi/eris": "^0.10.0",
        "hamcrest/hamcrest-php": "^2.0",
        "johnkary/phpunit-speedtrap": "^3.1",
        "justinrainbow/json-schema": "~5.2",
        "mediawiki/mediawiki-codesniffer": "31.0.0",
        "mediawiki/mediawiki-phan-config": "0.10.3",
        "monolog/monolog": "~1.25.3",
        "nikic/php-parser": "4.10.0",
        "nmred/kafka-php": "0.1.5",
        "php-parallel-lint/php-console-highlighter": "0.5",
        "php-parallel-lint/php-parallel-lint": "1.2.0",
        "phpunit/phpunit": "^8.5",
        "pimple/pimple": "3.3.0",
        "psy/psysh": "0.10.4",
        "seld/jsonlint": "1.7.1",
        "symfony/yaml": "~3.4|~4.3|~5.0.5",
        "wikimedia/avro": "1.9.0",
        "wikimedia/testing-access-wrapper": "~1.0",
        "wmde/hamcrest-html-matchers": "^0.1.0"
    },
    "replace": {
        "symfony/polyfill-ctype": "1.99",
        "symfony/polyfill-mbstring": "1.99"
    },
    "suggest": {
        "ext-apcu": "Local data cache for greatly improved performance",
        "ext-curl": "Improved http communication abilities",
        "ext-intl": "ICU integration",
        "ext-openssl": "Cryptographical functions",
        "ext-wikidiff2": "Diff accelerator",
        "monolog/monolog": "Flexible debug logging system",
        "nmred/kafka-php": "Send debug log events to kafka",
        "wikimedia/avro": "Binary serialization format used with kafka"
    },
    "autoload": {
        "psr-0": {
            "ComposerHookHandler": "includes/composer",
            "ComposerVendorHtaccessCreator": "includes/composer",
            "ComposerPhpunitXmlCoverageEdit":"includes/composer"
        }
    },
    "autoload-dev": {
        "files": [
            "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
            "vendor/wmde/hamcrest-html-matchers/src/functions.php"
        ]
    },
    "scripts": {
        "lint": "parallel-lint --exclude vendor",
        "phpcs": "phpcs -p -s",
        "fix": "phpcbf -p",
        "pre-install-cmd": "ComposerHookHandler::onPreInstall",
        "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
        "post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
        "post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
        "test": [
            "composer lint",
            "composer 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"
    },
    "config": {
        "optimize-autoloader": true,
        "prepend-autoloader": false
    },
    "extra": {
        "merge-plugin": {
            "include": [
                "composer.local.json"
            ],
            "merge-dev": false
        }
    }
}