PHP code example of daltcore / tarpit

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

    

daltcore / tarpit example snippets

 php
DALTCORE\Tarpit\TarpitServiceProvider::class,
 php
'Tarpit' => DALTCORE\Tarpit\Facade::class,
 php
/**
 * Tarpit Exception Helper
 */
\DALTCORE\Tarpit\Services\ExceptionHelper::handleTarpitCommunication($request, $exception);