limonte/google-safebrowsing

This package is abandoned and no longer maintained. No replacement package was suggested.

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

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: