X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=composer-example.json;h=85304c1fa59b5d7cf5985a9d4b7d189b873259d4;hb=d7e0fd581cc2aa95518c389266704f0e433da461;hp=6c4d37f5dc019c665a1440ee850f957ab9b06300;hpb=49109173b4ad5fafb24688457e35b3c71d330346;p=lhc%2Fweb%2Fwiklou.git diff --git a/composer-example.json b/composer-example.json index 6c4d37f5dc..85304c1fa5 100644 --- a/composer-example.json +++ b/composer-example.json @@ -3,9 +3,18 @@ "php": ">=5.3.2" }, "suggest": { - "ext-fileinfo": "*", - "ext-mbstring": "*", - "ext-wikidiff2": "*", - "ext-apc": "*" + "ext-fileinfo": "More accurate file type detection for uploaded files", + "ext-mbstring": "Faster unicode handling", + "ext-wikidiff2": "Faster diff generation", + "ext-apc": "Speed up MediaWiki with opcode caching (before PHP 5.5)" + }, + "autoload": { + "psr-0": { + "ComposerHookHandler": "includes/composer" + } + }, + "scripts": { + "pre-update-cmd": "ComposerHookHandler::onPreUpdate", + "pre-install-cmd": "ComposerHookHandler::onPreInstall" } }