Available Updates
available_updatesLists Composer packages with newer versions available, grouped by core, contrib, and other. Optionally filter for security advisories only or include dev dependencies.
Instructions
List packages with newer versions available, from composer.
Read-only (composer outdated); needs the project's composer.json
and network access. Packages are grouped into core, contrib, and
other. Dev dependencies are excluded unless include_dev is set --
filtered via composer.json's require-dev, because composer marks
none of them itself.
With security_only, the outdated list is cross-referenced against
composer audit: only packages that are both outdated and covered
by a security advisory are returned, with the advisories attached.
(The composer_audit tool lists advisories regardless of updates.)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_dev | No | ||
| security_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||