Update docs/hooks.txt for ShowSearchHitTitle
[mediawiki.git] / composer.json
blobe8251528a16f72e14fdad8e08728ea1b79e13ab4
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.2",
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.18.4",
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.1",
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.4",
40                 "wikimedia/relpath": "1.0.3",
41                 "wikimedia/running-stat": "1.1.0",
42                 "wikimedia/scoped-callback": "1.0.0",
43                 "wikimedia/utfnormal": "1.1.0",
44                 "wikimedia/wait-condition-loop": "1.0.1",
45                 "wikimedia/wrappedstring": "2.2.0",
46                 "zordius/lightncandy": "0.23"
47         },
48         "require-dev": {
49                 "composer/spdx-licenses": "1.1.4",
50                 "jakub-onderka/php-parallel-lint": "0.9.2",
51                 "justinrainbow/json-schema": "~3.0",
52                 "mediawiki/mediawiki-codesniffer": "0.7.2",
53                 "monolog/monolog": "~1.18.2",
54                 "nikic/php-parser": "2.1.0",
55                 "nmred/kafka-php": "0.1.5",
56                 "phpunit/phpunit": "4.8.31",
57                 "wikimedia/avro": "1.7.7"
58         },
59         "suggest": {
60                 "ext-apc": "Local data and opcode cache",
61                 "ext-fileinfo": "Improved mime magic detection",
62                 "ext-intl": "ICU integration",
63                 "ext-wikidiff2": "Diff accelerator",
64                 "monolog/monolog": "Flexible debug logging system",
65                 "nmred/kafka-php": "Send debug log events to kafka",
66                 "pear/mail": "Mail sending support",
67                 "pear/mail_mime": "Mail sending support",
68                 "pear/mail_mime-decode": "Mail sending support",
69                 "wikimedia/avro": "Binary serialization format used with kafka"
70         },
71         "autoload": {
72                 "psr-0": {
73                         "ComposerHookHandler": "includes/composer"
74                 }
75         },
76         "scripts": {
77                 "lint": "parallel-lint --exclude vendor",
78                 "phpcs": "phpcs -p -s",
79                 "fix": "phpcbf",
80                 "pre-install-cmd": "ComposerHookHandler::onPreInstall",
81                 "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
82                 "test": [
83                         "composer lint",
84                         "composer phpcs"
85                 ]
86         },
87         "config": {
88                 "optimize-autoloader": true,
89                 "prepend-autoloader": false
90         },
91         "extra": {
92                 "merge-plugin": {
93                         "include": [
94                                 "composer.local.json"
95                         ],
96                         "merge-dev": false
97                 }
98         }