PHP code example of sun-asterisk / laravel-security-checker

1. Go to this page and download the library: Download sun-asterisk/laravel-security-checker library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sun-asterisk / laravel-security-checker example snippets


'providers' => [
    // ...
    SunAsterisk\LaravelSecurityChecker\ServiceProvider::class
    // ...
];
sh
php artisan security:check
sh
php artisan security:check --report-json=security-check.json
sh
php artisan security:check --report-junit=security-check.xml