定制 sun-asterisk/laravel-security-checker 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sun-asterisk/laravel-security-checker

Composer 安装命令:

composer require sun-asterisk/laravel-security-checker

包简介

Laravel composer.lock vulnerabilities checker

README 文档

README

Integrate sensiolabs/security-checker to your Laravel project.

Add a command to check the project dependencies in composer.lock against the Symfony Security Advisories Database

Installation

Using composer:

composer require sun-asterisk/laravel-security-checker

For Laravel 5.4 and earlier, add the service provider to your config/app.php.

'providers' => [
    // ...
    SunAsterisk\LaravelSecurityChecker\ServiceProvider::class
    // ...
];

Usage

The security checker is provided as an Artisan command

php artisan security:check

screenshot.png

The command exit with status code 1 if vulnerabilities are found so you can use it in your CI pipeline.

Writing report to file

In addition to printing vulnerable packages, you can generate a report file. JSON & JUnit format report are supported.

Generate a JSON report:

php artisan security:check --report-json=security-check.json

Generate a JUnit report:

php artisan security:check --report-junit=security-check.xml

统计信息

  • 总下载量: 19
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-09-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固