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

This package is not auto-updated.

Last update: 2020-01-24 16:43:54 UTC


README

Build Status Scrutinizer Code Quality Code Coverage

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: