List composer packages used within MediaWiki
PHP Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build/travis
src/ComposerPackages
tests
.gitignore
.travis.yml
ComposerPackages.alias.php
ComposerPackages.i18n.php
ComposerPackages.php
ExtensionManager.php
README.md
composer.json
phpunit.xml.dist

README.md

THIS IS AN UNFINISHED EXPERIMENT. YOU CANNOT USE IT FOR ANYTHING USEFULL.

Build Status Scrutinizer Quality Score

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.