spryker-sdk/security-checker

A security checker for your composer.lock

0.1.0 2021-01-26 13:25 UTC

This package is auto-updated.

Last update: 2022-01-18 15:01:41 UTC


README

Build Status Minimum PHP Version PHPStan

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.