dotherightthing / wpdtrt-plugin-boilerplate

Boilerplate for WordPress plugin development. Formerly named wpdtrt-plugin.
2 stars 2 forks source link

An alternative to TGMPA #155

Open dotherightthing opened 5 years ago

dotherightthing commented 5 years ago

Investigating this due to needing to add anmu-plugin to resolve https://github.com/dotherightthing/wpdtrt-anchorlinks/issues/4


http://composer.github.io/installers/

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


https://github.com/lkwdwrd/wp-muplugin-loader

Managing plugins using the Composer Installers library works remarkably well. However, its handling of MU plugins leaves something to be desired.