Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 673 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 673 Bytes

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)