PHP code example of diviky / laravel-security

1. Go to this page and download the library: Download diviky/laravel-security 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/ */

    

diviky / laravel-security example snippets



'firewall.blacklist'
'firewall.whitelist'
'firewall.attacks'
'2fa'
'2fa.remember'
'2fa.stateless'
'security.password' // Check is password very older
'security.headers' // Add headers