Requires MediaWiki 1.20 or later.
A simple extension that deploys a Special:ListComposerPackages
page in order to display
information about which composer packages are installed and used within MediaWiki.
WebApi
An interface to access installed composer packages.
api.php?action=composerpackages
Installation
The recommended way to install this extension is through Composer
. Just add the following to the
MediaWiki composer.json
file and run the php composer.phar install/update
command.
{
"require": {
"mwjames/composer-packages": "dev-master"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/mwjames/composer-packages"
}
],
"minimum-stability" : "dev"
}
A manual installation will be insufficient due to usage of the Composer autoloader. For more information about how to use MediaWiki and Composer, see here.