enlightn/security-checker
CLI security checker for PHP/Laravel projects. Scans your composer.lock against FriendsOfPHP Security Advisories to detect vulnerable dependencies. Install via Composer or PHAR, run security:check, get ANSI/JSON output, optional no-dev filtering and allowlisting.
composer, Artisan). Example: Add a php artisan security:scan command to Laravel’s CLI.laravel/framework).monolog/monolog to v3.0.0 to fix CVE-2023-XXXX").composer audit).*"This tool is like a ‘security firewall’ for our PHP dependencies—it automatically blocks known vulnerabilities before they reach production. For example, last quarter, a similar tool caught a critical RCE flaw in a legacy package that would’ve cost us $45K in emergency fixes. By integrating this into our CI/CD pipeline, we’ll:
*"This is a Composer plugin that scans for PHP vulnerabilities during composer install or CI. Here’s why it’s a great fit:
laravel/new projects out of the box (no Laravel-specific hooks needed).composer update vendor/package) and severity levels.How to Start:
composer.json:
composer require --dev enlightn/security-checker
- name: Security Scan
run: vendor/bin/security-checker security:check composer.lock --severity=critical
Tradeoffs:
Ready to demo on [Staging Env]?"*
*"This tool automates 80% of our manual dependency audits by:
Example Output:
⚠️ 1 critical vulnerability found in composer.lock
- Package: monolog/monolog (1.2.0)
- CVE: CVE-2023-XXXX (RCE)
- Fix: Upgrade to >= 3.0.0
Why This Over Manual Checks?
Let’s use this to eliminate manual audits for PHP dependencies."*
How can I help you explore Laravel packages today?