User:HTan (WMF)/en/Composer/facts

Composer is a dependency manager for PHP libraries. Starting with MediaWiki 1.25, MediaWiki core's external library dependencies are being managed with Composer.

There are multiple ways to install Composer, besides the most obvious way, sudo apt install composer.

If that doesn't work, or you do not have Homebrew installed

To enable Composer to discover and process the composer.json files that may be included in any and all of your locally installed extensions, add something like this to $IP/composer.local.json: