PHPackages                             dominykasgel/google-safe-browsing - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. dominykasgel/google-safe-browsing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

dominykasgel/google-safe-browsing
=================================

Google Safe Browsing Lookup API v4 for Laravel

1.0.0(9y ago)11652[2 issues](https://github.com/dominykasgel/googlesafebrowsing/issues)[1 PRs](https://github.com/dominykasgel/googlesafebrowsing/pulls)GPL-3.0PHP

Since Apr 14Pushed 6y ago1 watchersCompare

[ Source](https://github.com/dominykasgel/googlesafebrowsing)[ Packagist](https://packagist.org/packages/dominykasgel/google-safe-browsing)[ RSS](/packages/dominykasgel-google-safe-browsing/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

GoogleSafeBrowsing
==================

[](#googlesafebrowsing)

Goole Safe Browsing v4 package for Laravel.

Installation
============

[](#installation)

Run the following from the Terminal:

```
composer require dominykasgel/google-safe-browsing

```

Next, add your new provider to the providers array of config/app.php:

```
'providers' => [
    dominykasgel\GoogleSafeBrowsing\GoogleSafeBrowsingServiceProvider::class,
]

```

Finally, add aliases to the aliases array of config/app.php: 'aliases' =&gt; \[ 'GoogleSafeBrowsing' =&gt; dominykasgel\\GoogleSafeBrowsing\\Facades\\GoogleSafeBrowsingFacade::class \]

Preparation
===========

[](#preparation)

1. You need to get your API key from [Google Safe Browsing API](https://developers.google.com/safe-browsing/v4/get-started).
2. Publish the config file.

    php artisan vendor:publish --force
3. Set your API key in `YOUR-APP/config/google_safe_browsing.php`

    'api\_key' =&gt; '\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*'

Usage
=====

[](#usage)

```
GoogleSafeBrowsing::lookup( 'https://www.github.com' );

if ( GoogleSafeBrowsing::isSecure() ) {
    echo 'Secure!';
}

```

More examples
=============

[](#more-examples)

```
GoogleSafeBrowsing::lookup( 'https://www.github.com' );

if ( GoogleSafeBrowsing::isSecure() ) {
    echo 'Secure!';
}

if ( GoogleSafeBrowsing::isSocialEngineering() ) {
    echo 'Social Engineering!';
}

if ( GoogleSafeBrowsing::isMalware() ) {
    echo 'Malware!';
}

if ( GoogleSafeBrowsing::isUnwanted() ) {
    echo 'Unwatend software!';
}

if ( GoogleSafeBrowsing::isHarmfulApplication() ) {
    echo 'Harmful application!';
}

```

License
=======

[](#license)

The package is licensed under the GPL v3 License.

Copyright 2017 Dominykas Gelucevičius

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3322d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f623b56121651cdab67a02efe1401f2e51f330c37fba65d08e4d6547372a1a6b?d=identicon)[dominykasgel](/maintainers/dominykasgel)

---

Top Contributors

[![dominykasgel](https://avatars.githubusercontent.com/u/1290780?v=4)](https://github.com/dominykasgel "dominykasgel (5 commits)")

### Embed Badge

![Health badge](/badges/dominykasgel-google-safe-browsing/health.svg)

```
[![Health](https://phpackages.com/badges/dominykasgel-google-safe-browsing/health.svg)](https://phpackages.com/packages/dominykasgel-google-safe-browsing)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
