2017 © Pedro Peláez
 

library tarpit

HTTP-Tarpit integration for Laravel

image

daltcore/tarpit

HTTP-Tarpit integration for Laravel

  • Friday, June 2, 2017
  • by RamonSmit
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1,598 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 1 % Grown

The README.md

HTTP-Tarpit

HTTP-Tarpit blocklist package for Laravel, (*1)

Install

Via Composer, (*2)

``` bash $ composer require daltcore/tarpit, (*3)


## Usage In your `config/app.php` at Service Providers ``` php DALTCORE\Tarpit\TarpitServiceProvider::class,

In your config/app.php at Aliasses ``` php 'Tarpit' => DALTCORE\Tarpit\Facade::class,, (*4)


In your `app/Exceptions/Handler.php` under function render() just before `return parent::render($request, $exception);` ``` php /** * Tarpit Exception Helper */ \DALTCORE\Tarpit\Services\ExceptionHelper::handleTarpitCommunication($request, $exception);

In your .env file you have to add the following parameters, (*5)

# To enable the tarpit
TARPIT_ENABLE=false

# Your website domain
TARPIT_DOMAIN=basis-cms.vm

# Tarpit API Key
TARPIT_API_KEY=af4ae3fe3ff09dbba45a601619ca783455cfeb4d

# Tarpit endpoint
TARPIT_ENDPOINT=api.http-tarpit.org

# Tarpit API Version
TARPIT_VERSION=v2

# Direct sync or with cache (30 minutes)
TARPIT_HANDLER=realtime

If you discover any security related issues, please contact Ramon Smit., (*6)

Credits

License

The MIT License (MIT). Please see License File for more information., (*7)

The Versions

02/06 2017

dev-master

9999999-dev https://github.com/daltcore/tarpit

HTTP-Tarpit integration for Laravel

  Sources   Download

MIT

The Requires

 

laravel daltcore tarpit

02/06 2017

v1.0.2

1.0.2.0 https://github.com/daltcore/tarpit

HTTP-Tarpit integration for Laravel

  Sources   Download

MIT

The Requires

 

laravel daltcore tarpit

02/06 2017

v1.0.1

1.0.1.0 https://github.com/daltcore/tarpit

HTTP-Tarpit integration for Laravel

  Sources   Download

MIT

The Requires

 

laravel daltcore tarpit

02/06 2017

v1.0.0

1.0.0.0 https://github.com/daltcore/tarpit

HTTP-Tarpit integration for Laravel

  Sources   Download

MIT

The Requires

 

laravel daltcore tarpit

02/06 2017

v0.1.0-alpha

0.1.0.0-alpha https://github.com/daltcore/tarpit

HTTP-Tarpit integration for Laravel

  Sources   Download

MIT

The Requires

 

laravel daltcore tarpit