xakki/phpwall

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Protect web

0.1.4 2021-04-17 21:33 UTC

This package is auto-updated.

Last update: 2021-09-18 07:59:02 UTC


README

Protect site from scanners on PHP Get googleCaptha keys from https://www.google.com/recaptcha/admin/

$phpWallConf = [
    'secretRequest' => 'CHANGE_ME',
    'secretRequestRemove' => 'CHANGE_ME',
    'bunTimeout' => 86400,
    'check_post' => false,
    'check_ua' => false,
    'check_url_keyword_exclude' => ['/admin/index.php', '/user/admin'],
    'dbPdo' => [
        'password' => 'passwor to databse'
    ],
    'googleCaptha' => [
        'sitekey' => '...',
        'sicretkey' => '...',
    ]
];
new \xakki\phpwall\PhpWall($phpWallConf);