gemorroj/stop-spam

Wrapper for API www.stopforumspam.com (api.stopforumspam.org)

3.4.0 2023-12-22 13:58 UTC

This package is auto-updated.

Last update: 2024-11-27 12:42:39 UTC


README

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)