2017 © Pedro Peláez
 

library stopforumspam

PHP Class for stopforumspam.com which can detect spammers

image

denostr/stopforumspam

PHP Class for stopforumspam.com which can detect spammers

  • Friday, April 13, 2018
  • by denost
  • Repository
  • 1 Watchers
  • 1 Stars
  • 14 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 250 % Grown

The README.md

StopForumSpam API Client

Documentation: stopforumspam.com/usage, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

php composer.phar require denostr/stopforumspam

or add, (*4)

"denostr/stopforumspam": "~0.1.0"

to the require section of your composer.json file., (*5)

Usage

$client = new denostr\stopforumspam\Client();

// Set IP for check
$client->ip('1.2.3.4');

// Set email for check
$client->email('mail@example.com')

// Set response JSON format
$client->format(denostr\stopforumspam\Client::FORMAT_JSON);

$result = $client->request();

Set multiple params

$client->ip(['1.2.3.4', '4.6.7.8', '9.10.11.12']);
$client->email(['first@example.com', 'second@example.com']);

Debug mode

$client->debug(true);

Wildcards

$client->nobademail(true);

The Versions

13/04 2018

dev-master

9999999-dev

PHP Class for stopforumspam.com which can detect spammers

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Denis Ostrovsky

api stopforumspam

13/04 2018

0.1.0

0.1.0.0

PHP Class for stopforumspam.com which can detect spammers

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Denis Ostrovsky

api stopforumspam