- 23 Mar 2023
- Updated on 23 Mar 2023
HUMAN Bot Defender is designed for high scalability and seamless integration with PHP. Detection and blocking of all attack types can start almost immediately. Risk scoring and blocking of bad bots is automatic and does not require any dedicated employees to monitor. There is no impact on performance, and there will be a reduction in requests and loading of system with the elimination of bad bot requests.
You can install using Composer:
$ composer require perimeterx/php-sdk
Or by downloading the sources for this repository, and running
use Perimeterx\Perimeterx; $perimeterxConfig = [ 'app_id' => 'APP_ID', 'cookie_key' => 'COOKIE_SECRET', 'auth_token' => 'AUTH_TOKEN', 'blocking_score' => 60, 'module_mode' => Perimeterx::$ACTIVE_MODE ]; /* Obtain PerimeterX SDK instance */ $px = Perimeterx::Instance($perimeterxConfig); /* run verify at the beginning of a page request */ $px->pxVerify();