security-checker
Audit PHP dependencies for known vulnerabilities
TLDR
Check project
SYNOPSIS
security-checker security:check [--format fmt] [options] [lockfile]
DESCRIPTION
security-checker audits PHP project dependencies for known security vulnerabilities by analyzing the composer.lock file against the FriendsOfPHP security advisories database. It identifies installed packages with published CVEs or security issues.
The tool returns a non-zero exit code when vulnerabilities are found, making it suitable for CI/CD pipeline integration as a gate check. Output is available in text, JSON, and YAML formats for both human review and programmatic processing by other tools.
PARAMETERS
security:check
Check for vulnerabilities.--format FMT
Output format (text, json, yaml).--end-point URL
Custom vulnerability DB.--timeout SEC
Request timeout.-v
Verbose output.
CAVEATS
PHP/Composer specific. Database may lag. Network required.
HISTORY
security-checker was created by SensioLabs (Symfony) to check PHP project dependencies for known security vulnerabilities.
