Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/yookoala/wordpress-composer-merge/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Wordpress with Composer
A simple plugin for manage all composer vendor in the same
folder. This plugin is based on the [composer merge][composer-merge-plugin]
by the [Wikimedia project][wikimedia].
[composer-merge-plugin]: https://packagist.org/packages/wikimedia/composer-merge-plugin
[wikimedia]: https://www.wikimedia.org/
Install
Install this plugin into your wordpress plugin folder. Remember to activate
the plugin or else the autoloader won't work.
Usage
Let's say you have 3 different plugins that has a composer.json
config for their dependencies:
Instead of maintaining 3 different vendor folder, you can install
this plugin like this:
Then run composer command in the folder, for example:
then only maintain 1 vendor folder (and autoloader).
composer install and composer update should work.
License
This plugin is released under the GPLv2 license. A copy of the license
can be obtain [here][license]
[license]: LICENSE.md