PHP code example of turbo124 / waffy
1. Go to this page and download the library: Download turbo124/waffy 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/ */
turbo124 / waffy example snippets
use Turbo124\Waffy\Deny;
$deny = new Deny();
$deny->addDeny('1.2.3.4');
$deny = new Deny();
$deny->removeDeny('1.2.3.4');
$deny = new Deny();
$deny->addDeny('192.168.0.0/24');
$deny = new Deny();
$deny->clearDenyList()