limonte / google-safebrowsing
This package is abandoned and no longer maintained.
No replacement package was suggested.
Check if link is spam via Google Safebrowsing
v0.1.0
2016-09-18 11:59 UTC
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