Wrapper for API stopforumspam.com
- PHP >= 8.0.2
composer require gemorroj/stop-spam
<?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)