An open API service indexing awesome lists of open source software.

https://github.com/gemorroj/stopspam

Wrapper for API www.stopforumspam.com (api.stopforumspam.org)
https://github.com/gemorroj/stopspam

antispam blacklist spam-detection spam-filtering spam-protection stopforumspam

Last synced: 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Wrapper for API [stopforumspam.com](https://www.stopforumspam.com/usage)

[![Continuous Integration](https://github.com/Gemorroj/StopSpam/workflows/Continuous%20Integration/badge.svg)](https://github.com/Gemorroj/StopSpam/actions?query=workflow%3A%22Continuous+Integration%22)

### Requirements:

- PHP >= 8.0.2

### Installation:
```bash
composer require gemorroj/stop-spam
```

### Example check IP:

```php
addIp('1.2.3.4');

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