Skip to content

xqus/larasec

Repository files navigation

laraSec for Laravel

Build Status Total Downloads Latest Stable Version License

Introduction

laraSec is a Laravel package that will scan your composer dependencies and alerts you about potention security vulnerabilities. laraSec uses PHP Security Advisories Database as a source of known vulnerabilities, and Packagist to check for updates.

Installation

composer require xqus/larasec

If you want to set up e-mail notifications first publish the configuration-file to your config directory.

php artisan vendor:publish --provider="xqus\laraSec\laraSecServiceProvider" --tag="config"

Then edit the e-mail address in config\larasec.php.

Usage

// Scan for vulnerable packages
php artisan larasec:scan

// Scan but don't update the database first
php artisan larasec:scan --update no

// Scan, and update the database without asking first
php artisan larasec:scan --update yes

// Update the database
php artisan larasec:update

About

laraSec is a Laravel package that will scan your composer dependencies and alerts you about potention security vulnerabilities.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project