composer.json 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "name": "mediawiki/core",
  3. "description": "Free software wiki application developed by the Wikimedia Foundation and others",
  4. "type": "mediawiki-core",
  5. "keywords": ["mediawiki", "wiki"],
  6. "homepage": "https://www.mediawiki.org/",
  7. "authors": [
  8. {
  9. "name": "MediaWiki Community",
  10. "homepage": "https://www.mediawiki.org/wiki/Special:Version/Credits"
  11. }
  12. ],
  13. "license": "GPL-2.0-or-later",
  14. "support": {
  15. "issues": "https://bugs.mediawiki.org/",
  16. "irc": "irc://irc.freenode.net/mediawiki",
  17. "wiki": "https://www.mediawiki.org/"
  18. },
  19. "require": {
  20. "composer/semver": "1.5.0",
  21. "cssjanus/cssjanus": "1.3.0",
  22. "ext-ctype": "*",
  23. "ext-dom": "*",
  24. "ext-fileinfo": "*",
  25. "ext-iconv": "*",
  26. "ext-json": "*",
  27. "ext-mbstring": "*",
  28. "ext-xml": "*",
  29. "guzzlehttp/guzzle": "6.3.3",
  30. "liuggio/statsd-php-client": "1.0.18",
  31. "oojs/oojs-ui": "0.34.1",
  32. "pear/mail": "1.4.1",
  33. "pear/mail_mime": "1.10.2",
  34. "pear/net_smtp": "1.8.1",
  35. "php": ">=7.2.9",
  36. "psr/container": "1.0.0",
  37. "psr/log": "1.0.2",
  38. "wikimedia/assert": "0.2.2",
  39. "wikimedia/at-ease": "2.0.0",
  40. "wikimedia/base-convert": "2.0.0",
  41. "wikimedia/cdb": "1.4.1",
  42. "wikimedia/cldr-plural-rule-parser": "1.0.0",
  43. "wikimedia/composer-merge-plugin": "1.4.1",
  44. "wikimedia/html-formatter": "1.0.2",
  45. "wikimedia/ip-set": "2.1.0",
  46. "wikimedia/less.php": "1.8.0",
  47. "wikimedia/object-factory": "2.1.0",
  48. "wikimedia/password-blacklist": "0.1.4",
  49. "wikimedia/php-session-serializer": "1.0.7",
  50. "wikimedia/purtle": "1.0.7",
  51. "wikimedia/relpath": "2.1.1",
  52. "wikimedia/remex-html": "2.1.0",
  53. "wikimedia/running-stat": "1.2.1",
  54. "wikimedia/scoped-callback": "3.0.0",
  55. "wikimedia/utfnormal": "2.0.0",
  56. "wikimedia/timestamp": "3.0.0",
  57. "wikimedia/wait-condition-loop": "1.0.1",
  58. "wikimedia/wrappedstring": "3.0.1",
  59. "wikimedia/xmp-reader": "0.6.3",
  60. "zordius/lightncandy": "0.23"
  61. },
  62. "require-dev": {
  63. "cache/integration-tests": "0.16.0",
  64. "composer/spdx-licenses": "1.5.1",
  65. "giorgiosironi/eris": "^0.10.0",
  66. "hamcrest/hamcrest-php": "^2.0",
  67. "jakub-onderka/php-console-highlighter": "0.3.2",
  68. "jakub-onderka/php-parallel-lint": "0.9.2",
  69. "justinrainbow/json-schema": "~5.2",
  70. "mediawiki/mediawiki-codesniffer": "28.0.0",
  71. "monolog/monolog": "~1.24.0",
  72. "nikic/php-parser": "3.1.5",
  73. "seld/jsonlint": "1.7.1",
  74. "nmred/kafka-php": "0.1.5",
  75. "phpunit/phpunit": "4.8.36 || ^6.5",
  76. "psy/psysh": "0.9.9",
  77. "wikimedia/avro": "1.9.0",
  78. "wikimedia/testing-access-wrapper": "~1.0",
  79. "wmde/hamcrest-html-matchers": "^0.1.0",
  80. "mediawiki/mediawiki-phan-config": "0.7.1",
  81. "symfony/yaml": "3.4.28",
  82. "johnkary/phpunit-speedtrap": "^1.0 | ^2.0"
  83. },
  84. "replace": {
  85. "symfony/polyfill-ctype": "1.99",
  86. "symfony/polyfill-mbstring": "1.99"
  87. },
  88. "suggest": {
  89. "ext-apcu": "Local data cache for greatly improved performance",
  90. "ext-curl": "Improved http communication abilities",
  91. "ext-intl": "ICU integration",
  92. "ext-openssl": "Cryptographical functions",
  93. "ext-wikidiff2": "Diff accelerator",
  94. "monolog/monolog": "Flexible debug logging system",
  95. "nmred/kafka-php": "Send debug log events to kafka",
  96. "wikimedia/avro": "Binary serialization format used with kafka"
  97. },
  98. "autoload": {
  99. "psr-0": {
  100. "ComposerHookHandler": "includes/composer",
  101. "ComposerVendorHtaccessCreator": "includes/composer",
  102. "ComposerPhpunitXmlCoverageEdit":"includes/composer"
  103. }
  104. },
  105. "autoload-dev": {
  106. "files": [
  107. "vendor/hamcrest/hamcrest-php/hamcrest/Hamcrest.php",
  108. "vendor/wmde/hamcrest-html-matchers/src/functions.php"
  109. ]
  110. },
  111. "scripts": {
  112. "lint": "parallel-lint --exclude vendor",
  113. "phpcs": "phpcs -p -s",
  114. "fix": "phpcbf",
  115. "pre-install-cmd": "ComposerHookHandler::onPreInstall",
  116. "pre-update-cmd": "ComposerHookHandler::onPreUpdate",
  117. "post-install-cmd": "ComposerVendorHtaccessCreator::onEvent",
  118. "post-update-cmd": "ComposerVendorHtaccessCreator::onEvent",
  119. "test": [
  120. "composer lint",
  121. "composer phpcs"
  122. ],
  123. "phpunit": "phpunit",
  124. "phpunit:unit": "phpunit --colors=always --testsuite=core:unit,extensions:unit,skins:unit",
  125. "phpunit:integration": "phpunit --colors=always --testsuite=core:integration,extensions:integration,skins:integration",
  126. "phpunit:coverage": "phpunit --testsuite=core:unit --exclude-group Dump,Broken",
  127. "phpunit:coverage-edit": "ComposerPhpunitXmlCoverageEdit::onEvent"
  128. },
  129. "config": {
  130. "optimize-autoloader": true,
  131. "prepend-autoloader": false
  132. },
  133. "extra": {
  134. "merge-plugin": {
  135. "include": [
  136. "composer.local.json"
  137. ],
  138. "merge-dev": false
  139. }
  140. }
  141. }