Skip to content

Gemorroj/StopSpam

Repository files navigation

Wrapper for API stopforumspam.com

Continuous Integration

Requirements:

  • PHP >= 8.0.2

Installation:

composer require gemorroj/stop-spam

Example check IP:

<?php
use StopSpam\Request;
use StopSpam\Query;

$query = new Query();
$query->addIp('1.2.3.4');

$request = new Request();
$response = $request->send($query);
$item = $response->getFlowingIp();
var_dump($item->isAppears()); // bool (true)