spryker-sdk/security-checker

A security checker for your composer.lock

0.2.0 2023-04-24 11:24 UTC

This package is auto-updated.

Last update: 2024-04-19 18:07:58 UTC


README

Build Status Latest Stable Version 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.