Fix ApiBase::getErrorFromStatus() and ApiMessages
[mediawiki.git] / composer.json
blobef85ec465254060327f176284a5ac589f3551f34
2         "name": "mediawiki/core",
3         "description": "Free software wiki application developed by the Wikimedia Foundation and others",
4         "keywords": ["mediawiki", "wiki"],
5         "homepage": "https://www.mediawiki.org/",
6         "authors": [
7                 {
8                         "name": "MediaWiki Community",
9                         "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
10                 }
11         ],
12         "license": "GPL-2.0+",
13         "support": {
14                 "issues": "https://bugs.mediawiki.org/",
15                 "irc": "irc://irc.freenode.net/mediawiki",
16                 "wiki": "https://www.mediawiki.org/"
17         },
18         "require": {
19                 "composer/semver": "1.4.0",
20                 "cssjanus/cssjanus": "1.1.2",
21                 "ext-ctype": "*",
22                 "ext-iconv": "*",
23                 "ext-json": "*",
24                 "ext-mbstring": "*",
25                 "ext-xml": "*",
26                 "liuggio/statsd-php-client": "1.0.18",
27                 "mediawiki/at-ease": "1.1.0",
28                 "oojs/oojs-ui": "0.17.2",
29                 "oyejorge/less.php": "1.7.0.10",
30                 "php": ">=5.5.9",
31                 "psr/log": "1.0.0",
32                 "wikimedia/assert": "0.2.2",
33                 "wikimedia/base-convert": "1.0.1",
34                 "wikimedia/cdb": "1.4.0",
35                 "wikimedia/cldr-plural-rule-parser": "1.0.0",
36                 "wikimedia/composer-merge-plugin": "1.3.1",
37                 "wikimedia/html-formatter": "1.0.1",
38                 "wikimedia/ip-set": "1.1.0",
39                 "wikimedia/php-session-serializer": "1.0.3",
40                 "wikimedia/relpath": "1.0.3",
41                 "wikimedia/running-stat": "1.1.0",
42                 "wikimedia/utfnormal": "1.0.3",
43                 "wikimedia/wrappedstring": "2.0.0",
44                 "zordius/lightncandy": "0.23"
45         },
46         "require-dev": {
47                 "jakub-onderka/php-parallel-lint": "0.9.2",
48                 "justinrainbow/json-schema": "~1.3",
49                 "mediawiki/mediawiki-codesniffer": "0.7.1",
50                 "monolog/monolog": "~1.18.2",
51                 "nikic/php-parser": "1.4.1",
52                 "nmred/kafka-php": "0.1.5",
53                 "phpunit/phpunit": "4.8.24",
54                 "wikimedia/avro": "1.7.7"
55         },
56         "suggest": {
57                 "ext-apc": "Local data and opcode cache",
58                 "ext-fileinfo": "Improved mime magic detection",
59                 "ext-intl": "ICU integration",
60                 "ext-wikidiff2": "Diff accelerator",
61                 "monolog/monolog": "Flexible debug logging system",
62                 "nmred/kafka-php": "Send debug log events to kafka",
63                 "pear/mail": "Mail sending support",
64                 "pear/mail_mime": "Mail sending support",
65                 "pear/mail_mime-decode": "Mail sending support",
66                 "wikimedia/avro": "Binary serialization format used with kafka"
67         },
68         "autoload": {
69                 "psr-0": {
70                         "ComposerHookHandler": "includes/composer"
71                 }
72         },
73         "scripts": {
74                 "lint": "parallel-lint --exclude vendor",
75                 "phpcs": "phpcs -p -s",
76                 "fix": "phpcbf",
77                 "pre-install-cmd": "ComposerHookHandler::onPreInstall",
78                 "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
79                 "test": [
80                         "composer lint",
81                         "composer phpcs"
82                 ]
83         },
84         "config": {
85                 "optimize-autoloader": true,
86                 "prepend-autoloader": false
87         },
88         "extra": {
89                 "merge-plugin": {
90                         "include": [
91                                 "composer.local.json"
92                         ],
93                         "merge-dev": false
94                 }
95         }