move-elevator / local-php-security-checker-installer
Composer integration for local PHP security check
Installs: 10 305
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 6
Forks: 0
Open Issues: 0
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-12-05 12:15:59 UTC
README
Composer integration for local PHP security check using fabpot/local-php-security-checker
Install:
composer require move-elevator/local-php-security-checker-installer
Binary will be downloaded to your project's bin directory (vendor/bin
by default, see documentation).
Usage:
vendor/bin/local-php-security-checker-installer && vendor/bin/local-php-security-checker
Example in composer.json
to run it after install:
"scripts": {
"post-install-cmd": [
"local-php-security-checker-installer"
],
"security-checker:show": "vendor/bin/local-php-security-checker",
"security-checker:check": "vendor/bin/local-php-security-checker --format=markdown | grep -E '[0-9]+ packages have known vulnerabilities' && exit 1 || exit 0"
}