WP Manifestindependent plugin directory
manifest / developer / wordpress-composer-merge

Wordpress with Composer

Centeralize the vendor libraries of all the Wordpress plugins.

by Koala Yeung · github.com/yookoala/wordpress-composer-merge · website

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/yookoala/wordpress-composer-merge/archive/refs/heads/main.zip

Declares an update source (https://gitlab.com/yookoala/wordpress-composer-merge), so updates arrive through the plugin's own updater.

From the readme

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

Read the full README on GitHub →