1. Go to this page and download the library: Download moox/firewall 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/ */
moox / firewall example snippets
return [
// Enable firewall?
'enabled' => env('MOOX_FIREWALL_ENABLED', true),
// Whitelist IP addresses
'whitelist' => array_filter(explode(',', env('MOOX_FIREWALL_WHITELIST', ''))),
// Logo to display on the firewall page
'logo' => env('MOOX_FIREWALL_LOGO', 'img/logo.png'),
// Backdoor allowed?
'backdoor' => env('MOOX_FIREWALL_BACKDOOR', true),
// Backdoor bypass token
'backdoor_token' => env('MOOX_FIREWALL_BACKDOOR_TOKEN', 'let-me-in'),
// Firewall page message
'message' => env('MOOX_FIREWALL_MESSAGE', 'Moox Firewall'),
// Firewall page color as hex
'color' => env('MOOX_FIREWALL_COLOR', 'darkblue'),
// Firewall page description
'description' => env('MOOX_FIREWALL_DESCRIPTION', 'Please enter your access token to continue.'),
];