PHP code example of chh / stack-honeypot

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

    

chh / stack-honeypot example snippets




$options = [];

$app = (new Stack\Builder)
    ->push(CHH\Stack\Honeypot::class, $options)
    ->resolve($app);

$app = new Stack\Honeypot($app, $options);