Composer: Difference between revisions
No edit summary |
adds info about using Composer with MediaWiki |
||
| Line 4: | Line 4: | ||
== in MediaWiki == | == in MediaWiki == | ||
[[mw:Composer]] is used in the MediaWiki engine to manage all core libraries and dependencies since version 1.25 | <ol> | ||
<li> [[mw:Composer]] is used in the MediaWiki engine to manage all core libraries and dependencies since version 1.25 (including composer-local.json) | |||
<source lang="bash"> | |||
cd $IP | |||
cp composer.local.json-sample composer.local.json | |||
composer update --no-dev --dry-run | |||
</source> | |||
<li> [[mw:Composer/For extensions]] on using Composer to manage extensions | |||
<li> [[mw:Manual:composer.json best practices]] for how to add Composer support to your extensions (including extension.json and skin.json) | |||
</ol> | |||
== Installation == | == Installation == | ||