Download the PHP package jorijn/laravel-security-checker without Composer
On this page you can find all versions of the php package jorijn/laravel-security-checker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jorijn/laravel-security-checker
More information about jorijn/laravel-security-checker
Files in jorijn/laravel-security-checker
Package laravel-security-checker
Short Description Added Laravel functionality to the Enlightn Security Checker. Adds a command to check for, and optionally emails you, vulnerabilities when they affect you.
License MIT
Informations about the package laravel-security-checker
Laravel Security Checker
This package provides an effortless way for you to check your local composer.lock
against the Security Advisories Database.
It can either display the results in your console or email them to you on a scheduled basis. It uses Laravel's markdown system, so it should fit nicely in your styling.
Screenshot
Installation
Require this package with composer using the following command:
Configuration
If you want the package to send reports by email, you'll need to specify a recipient.
Option 1
Add it to your .env
file.
Option 2
Publish the configuration file and change it there.
If you want to control on how the email is formatted you can have Laravel export the view for you using:
By default, the package won't email you when there are no vulnerabilities found. You can change this setting by adding the following entry to your .env
file.
Slack
If you want the package to send the report to a Slack channel, you will need to specify a Slack Webhook
in your .env
file.
E.g.:
Scheduling
The package exposes a new command for you:
You can hook it up into a regular crontab or add it into the Laravel Scheduler (app/Console/Kernel.php
) like this:
Running as a command
This package provides a wrapper around the Enlightn Security Checker command. You can call it using php artisan security-check:now
.
Translations
If you need to translate this package into your own language you can do so by publishing the translation files:
Please consider helping out by creating a pull request with your language to help out others.
All versions of laravel-security-checker with dependencies
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/console Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/bus Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/mail Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/queue Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
illuminate/notifications Version ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0
ext-json Version *
enlightn/security-checker Version ^1.3|^2.0