spryker-sdk/security-checker

A security checker for your composer.lock

0.2.1 2024-05-10 16:20 UTC

This package is auto-updated.

Last update: 2024-12-17 10:41:13 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.