Download the PHP package jenko/wp-plugin-trouble-detector without Composer
On this page you can find all versions of the php package jenko/wp-plugin-trouble-detector. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jenko/wp-plugin-trouble-detector
More information about jenko/wp-plugin-trouble-detector
Files in jenko/wp-plugin-trouble-detector
Package wp-plugin-trouble-detector
Short Description A composer plugin to detect potential trouble with WordPress plugins installed via composer.
License MIT
Informations about the package wp-plugin-trouble-detector
WordPress Plugin Trouble Detector
Installing WordPress plugins via composer? Worried about the trepidations of installing plugins and there being clashes between any dependencies and your own?
Don't know what I'm on about? This post does a good job of explaining https://inpsyde.com/en/package-management-in-wordpress-introduction-solutions/
What this will do
This is a composer plugin that will inspect the wordpress plugins you are installing with composer and yell if it spots anything that could mean you're in for a world of pain.
Installation
composer req jenko/wp-plugin-trouble-detector --dev
Usage
Composer install as usual, if any package has anything to be concerned about, you will see yellow warnings in the output.
What it yells about
- Plugin has a committed
vendor
directory - Plugin has third party dependencies which clash with yours (includes support for wpackagist plugins)
- Plugin has third party dependencies which clash with dependencies of pre-existing plugins.
Troubleshooting
It should 'just work' but if for whatever reason it doesn't you may need to add the following to your scripts
section of composer.json
All versions of wp-plugin-trouble-detector with dependencies
composer-plugin-api Version ^1.0 || ^2.0