This is for PHP package authors to require in their composer.json. It will install their package to the correct location based on the specified package type.
e.g. WordPress dependencies can be installed to the theme, plugins, or mu-plugins folder.
Using this approach, plugins could be updated by running (or automating) composer update
Investigating this due to needing to add an
mu-plugin
to resolve https://github.com/dotherightthing/wpdtrt-anchorlinks/issues/4http://composer.github.io/installers/
e.g. WordPress dependencies can be installed to the
theme
,plugins
, ormu-plugins
folder.Using this approach, plugins could be updated by running (or automating)
composer update
https://github.com/lkwdwrd/wp-muplugin-loader