X-Git-Url: https://git.cyclocoop.org/%242?a=blobdiff_plain;f=composer-example.json;h=85304c1fa59b5d7cf5985a9d4b7d189b873259d4;hb=88b394ca74b07f06341af91593b6cf13f7436d41;hp=cf63678c1c069c55c602273dcfdc37865e268eeb;hpb=46745ae9520198e97bcc69793e3beba7647fc721;p=lhc%2Fweb%2Fwiklou.git diff --git a/composer-example.json b/composer-example.json index cf63678c1c..85304c1fa5 100644 --- a/composer-example.json +++ b/composer-example.json @@ -7,5 +7,14 @@ "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" } }