security-checker

PHP frontend for security.symfony.com

  • Owner: sensiolabs/security-checker
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

SensioLabs Security Checker

The SensioLabs Security Checker is a command line tool that checks if your
application uses dependencies with known security vulnerabilities. It uses the
Security Check Web service and the Security Advisories Database.

TIP: As an alternative, you can use the Symfony CLI tool that has the
following advantages: it does not depend on PHP, all checks are done locally (no
calls to the security.symfony.com API):

$ symfony security:check

Usage

Download the security-checker.phar file:

$ php security-checker.phar security:check /path/to/composer.lock

Use the code from the repository directly:

$ composer install
$ php security-checker security:check /path/to/composer.lock

Integration

The checker uses the Symfony Console component; so, you can easily integrate
the checker into your own project:

  • by using the SecurityCheckerCommand class into your Symfony Console
    application;

  • by using the SecurityChecker class directly into your own code:

     use SensioLabs\Security\SecurityChecker;
    
     $checker = new SecurityChecker();
     $result = $checker->check('/path/to/composer.lock', 'json');
     $alerts = json_decode((string) $result, true);
    

Main metrics

Overview
Name With Ownersensiolabs/security-checker
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2013-02-01 10:45:33
Pushed At2021-01-15 07:12:15
Last Commit At2021-01-15 08:12:09
Release Count46
Last Release Namev6.0.3 (Posted on 2019-11-01 14:20:38)
First Release Namev1.0 (Posted on 2013-02-19 16:31:44)
用户参与
Stargazers Count2k
Watchers Count58
Fork Count116
Commits Count162
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count48
Pull Requests Open Count0
Pull Requests Close Count31
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private