2017 © Pedro Peláez
 

library botscout-client

A PHP client library for botscout.com

image

nicolasbeauvais/botscout-client

A PHP client library for botscout.com

  • Friday, February 9, 2018
  • by nicolasbeauvais
  • Repository
  • 1 Watchers
  • 5 Stars
  • 1,763 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

PHP client for the BotScout.com API

Latest Version on Packagist Build Status SensioLabsInsight Quality Score Total Downloads, (*1)

bs_logo_full, (*2)

Protect your website against automated scripts using the botscout.com API., (*3)

Installation

You can install the package via composer:, (*4)

``` bash composer require nicolasbeauvais/botscout-client, (*5)


You also need an api key from [botscout.com](http://botscout.com/getkey.htm) ## Usage You must pass a Guzzle client and an api key to the constructor of NicolasBeauvais\BotScout: ``` php $client = new \GuzzleHttp\Client(); $botscout = new NicolasBeauvais\BotScout($client, 'api-key');

Multi

Test matches all parameters at once., (*6)

$response = $botscout->multi($name, $mail, $ip);

All

Test matches a single item against all fields in the botscout database., (*7)

$response = $botscout->all($name);
$response = $botscout->all($email);

Name

Test matches a name., (*8)

$response = $botscout->name($name);

Mail

Test matches an email., (*9)

$response = $botscout->mail($mail);

IP

Test matches an IP., (*10)

$response = $botscout->ip($ip);

Response

// Return false if the email has a match in the botscout database
$response->isValid();

// Return true if the email has a match in the botscout database
$response->getMatched();

Changelog

Please see CHANGELOG for more information what has changed recently., (*11)

Testing

bash $ composer test, (*12)

Contributing

Please see CONTRIBUTING for details., (*13)

Security

If you discover any security related issues, please email nicolasbeauvais1@gmail.com instead of using the issue tracker., (*14)

Credits

License

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

The Versions

09/02 2018

dev-master

9999999-dev https://github.com/nicolasbeauvais/botscout-client

A PHP client library for botscout.com

  Sources   Download

MIT

The Requires

 

The Development Requires

bot client protection botscout

13/02 2017

1.0.1

1.0.1.0 https://github.com/nicolasbeauvais/botscout-client

A PHP client library for botscout.com

  Sources   Download

MIT

The Requires

 

The Development Requires

bot client protection botscout

13/02 2017

1.0.0

1.0.0.0 https://github.com/nicolasbeauvais/botscout-client

A PHP client library for botscout.com

  Sources   Download

MIT

The Requires

 

The Development Requires

bot client protection botscout