limonte / mcafee-siteadvisor
Check if link is spam via McAfee SiteAdvisor
This package's canonical repository appears to be gone and the package has been frozen as a result.
v0.1.0
2016-09-18 13:20 UTC
Requires (Dev)
- phpunit/phpunit: ~5.2
This package is not auto-updated.
Last update: 2019-10-05 22:13:02 UTC
README
McAfee SiteAdvisor: https://www.siteadvisor.com/
Usage:
use Limonte\McAfeeSiteAdvisor as SiteAdvisor; $siteAdvisorChecker = new SiteAdvisor; $status = $siteAdvisorChecker->check($url); if ($status === SiteAdvisor::OK) { // link is OK } if ($status === SiteAdvisor::SUSPICIOUS) { // link is suspicious - malware, spam or dangerous }
Related libraries:
- Google Safebrowsing PHP library: limonte/google-safebrowsing
- Check if link is SPAM: limonte/spam-link-analyser
- PHP parser for Adblock Plus filters: limonte/php-adblock-parser