limonte / google-safebrowsing
Check if link is spam via Google Safebrowsing
Installs: 604
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 2
Forks: 2
Open Issues: 0
pkg:composer/limonte/google-safebrowsing
Requires (Dev)
- phpunit/phpunit: ~5.2
This package is not auto-updated.
Last update: 2020-01-24 16:43:54 UTC
README
Usage:
use Limonte\GoogleSafebrowsing; $googleSafebrowsing = new GoogleSafebrowsing; $status = $googleSafebrowsing->check($url); if ($status === GoogleSafebrowsing::OK) { // link is OK } if ($status === GoogleSafebrowsing::SUSPICIOUS) { // link is suspicious - malware, spam or dangerous }
Related libraries:
- Check if link is SPAM: limonte/spam-link-analyser
- McAfee SiteAdvisor PHP library: limonte/mcafee-siteadvisor
- PHP parser for Adblock Plus filters: limonte/php-adblock-parser