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. Email us for help if needed.
Installs: 634
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 1
Open Issues: 1
pkg:composer/limonte/mcafee-siteadvisor
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