New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

lowerends/laravel-security-checker

The Symfony Security Advisories Checker for Laravel
1,474 27
Install
composer require lowerends/laravel-security-checker
Latest Version:v1.0.0
PHP:>=5.5.9
Laravel:5
License:MIT
Last Updated:Oct 20, 2015
Links: GitHub  ·  Packagist
Maintainer: lowerends

Laravel Security Checker

Latest Stable Version Total Downloads Latest Unstable Version License

This package makes it easy to integrate the Symfony Security Advisories Checker into your Laravel project. It exposes an artisan command to check against the Security Advisories Database.

Installation

Require this package with composer:

composer require lowerends/laravel-security-checker

Then, add the ServiceProvider to the providers array in config/app.php:

'providers' => [
   ...
   'Lowerends\SecurityChecker\ServiceProvider',

Usage

You can now check your Laravel project for known security issues by running the following artisan command:

artisan security:check

A convenient way to use this command is to add it to the post-update scripts in your project's composer.json file (extracted from the default Laravel composer.json file):

...
"scripts": {
    "post-install-cmd": [
            "php artisan clear-compiled",
            "php artisan optimize"
        ],
        "pre-update-cmd": [
            "php artisan clear-compiled"
        ],
        "post-update-cmd": [
            "php artisan optimize",
            "php artisan security:check"
        ],
        "post-root-package-install": [
            "php -r \"copy('.env.example', '.env');\""
        ],
        "post-create-project-cmd": [
            "php artisan key:generate"
        ]
},
...

The output will tell you if there are known security issues and if so, list them in order for you to take the necessary actions.

License

The Laravel Security Checker is open-sourced software licensed under the MIT license.

Related Packages

rahul900day/laravel-console-spinner

Laravel Console Spinner is a spinner output for Laravel command line.

136,079 76
eddiriarte/console-select

A fancy selection interface for symfony's console component.

7,302 12
nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2,677,473 260
nunomaduro/laravel-console-summary

A Beautiful Laravel Console Summary for your Laravel/Laravel Zero commands.

2,616,282 67
nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

459,356 810

Version History

Version Released PHP Laravel License
v1.0.0 >=5.5.9 5.1.* MIT
v0.1.5 >=5.5.9 5.1.* MIT
v0.1.4 >=5.5.9 5.1.* MIT
v0.1.3 >=5.5.9 5.1.* MIT
v0.1.2 >=5.5.9 5.1.* MIT