CmdID

CmdID / Commands

composer-audit

Analyze a PHP project's dependencies to detect known security vulnerabilities and list affected packages. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Check for security vulnerabilities in your current project

composer auditIdentify

Omit dev dependencies in the audit

composer audit --no-devIdentify

Filter vulnerabilities by output format

composer audit --format tableIdentify

Output audit results to a file in JSON format

composer audit --format json >audit_report.jsonIdentify

Verify whether a specific package in your project is affected by security issues

composer audit vendor/packageIdentify