Download the PHP package resolventa/stopforumspam-php-api without Composer
On this page you can find all versions of the php package resolventa/stopforumspam-php-api. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download resolventa/stopforumspam-php-api
More information about resolventa/stopforumspam-php-api
Files in resolventa/stopforumspam-php-api
Download resolventa/stopforumspam-php-api
More information about resolventa/stopforumspam-php-api
Files in resolventa/stopforumspam-php-api
Vendor resolventa
Package stopforumspam-php-api
Short Description PHP API for StopForumSpam service. See https://www.stopforumspam.com for details.
License MIT
Package stopforumspam-php-api
Short Description PHP API for StopForumSpam service. See https://www.stopforumspam.com for details.
License MIT
Please rate this library. Is it a good library?
Informations about the package stopforumspam-php-api
StopForumSpam PHP API
Composer friendly PHP API library and response analyzer for StopForumSpam service.
Requirements
- PHP >= 8.1
- cURL extension
Installation
Usage
See example.php
and tests/UseCaseTest.php
for usage examples.
Response analyzer
The library is included with an analyzer class to check StopForumSpam API response and decide if user is spammer or not.
Default analyzer settings
See StopForumSpam API documentation to understand given analyzer settings.
$confidenceThreshold = 90
If response confidence equal or above$confidenceThreshold
, user is detected as spammer.$minFlagAppearanceFrequency = 5
If flag (ip, email, username) appears in spam reports less than$minFlagAppearanceFrequency
value, user is NOT detected as spammer.$flagLastSeenDaysAgo = 7
If flag (ip, email, username) was last time reported as spam more than$flagLastSeenDaysAgo
days ago, user is NOT detected as spammer.$minSpamFlagsCount = 1
Minimum number of flags (ip, email, username) detected as spam to detect user as spammer.
Analyzer usage
Submit spam reports
To submit spam reports you need to get StopForumSpam API key.
For usage example see test/SubmitReportTest.php
All versions of stopforumspam-php-api with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-curl Version *
ext-json Version *
ext-curl Version *
ext-json Version *
The package resolventa/stopforumspam-php-api contains the following files
Loading the files please wait ....