spryker-sdk / security-checker
A security checker for your composer.lock
Installs: 1 289 411
Dependents: 6
Suggesters: 0
Security: 0
Stars: 0
Watchers: 16
Forks: 1
Open Issues: 0
Requires
- php: >=8.0
- symfony/console: ^4.0.0 || ^5.0.0 || ^6.0.0
- symfony/options-resolver: ^4.0.0 || ^5.0.0 || ^6.0.0
- symfony/process: ^4.0.0 || ^5.0.0 || ^6.0.0
Requires (Dev)
- phpstan/phpstan: ^1.2.0
- slevomat/coding-standard: ^6.2
- spryker/code-sniffer: ^0.15.6
- squizlabs/php_codesniffer: ^3.5
README
Checks security issues in your project dependencies. It wraps FriendsOfPHP/security-advisories and warns about any found issues.
Installation
composer require --dev spryker-sdk/security-checker
Configuration
After the installation you will need to enable it in your ConsoleDependencyProvider
:
use SecurityChecker\Command\SecurityCheckerCommand; protected function getConsoleCommands(Container $container): array { ... $commands[] = new SecurityCheckerCommand();
Commands
Security checker provides the following command:
console security:check
- check for security issues in composer.lock file.