Does composer have any built in way to display a list of plugins in the current project? Or is the only option for finding composer plugins some sort of text search through the composer.json
files in vendor
with something like
$ find vendor -name composer.json | xargs grep -i -r 'composer-plugin'
Since a Composer plugin must require the composer-plugin-api
package (see Composer documentation) you can list the plugins with this command:
composer depends composer-plugin-api
More details here: https://getcomposer.org/doc/03-cli.md#depends-why-
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With