PHP code example of irfa / lockout

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

    

irfa / lockout example snippets


composer 

'providers' => [
      	 ....
         Irfa\Lockout\LockoutAccountServiceProvider::class, 
     ];

'aliases' => [
         ....
    	'Lockout' => Irfa\Lockout\Facades\Lockout::class,
],

....
LOGIN_ATTEMPS=3
LOGGING=true