gemorroj / stop-spam
Wrapper for API www.stopforumspam.com (api.stopforumspam.org)
Installs: 1 807
Dependents: 1
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=8.0.2
- symfony/http-client: ^5.4||^6.0||^7.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.41
- phpunit/phpunit: ^9.6
README
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)