PHPackages                             ampersa/safebrowsing-laravel - 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. [Security](/categories/security)
4. /
5. ampersa/safebrowsing-laravel

ActiveLibrary[Security](/categories/security)

ampersa/safebrowsing-laravel
============================

Laravel package wrapper for ampersa/safebrowsing

0.1(9y ago)02.0kMITPHP

Since Apr 13Pushed 9y agoCompare

[ Source](https://github.com/ampersa/safebrowsing-laravel)[ Packagist](https://packagist.org/packages/ampersa/safebrowsing-laravel)[ RSS](/packages/ampersa-safebrowsing-laravel/feed)WikiDiscussions master Synced 2w ago

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

A Laravel package wrapper for ampersa/safebrowsing.

Installation
------------

[](#installation)

Composer

```
$ composer require ampersa/safebrowsing-laravel
```

Include the Service Provider and Facade in your `config/app.php`

```
'providers' => [
    ...
    Ampersa\SafeBrowsing\Laravel\SafeBrowsingServiceProvider::class,
    ...
];
...
'aliases' => [
    ...
    'SafeBrowsing' => Ampersa\SafeBrowsing\Laravel\Facade\SafeBrowsing::class,
    ...
];
```

Now publish the configuration

```
$ php artisan vendor:publish --provider="Ampersa\SafeBrowsing\Laravel\SafeBrowsingServiceProvider"
```

Finally, ensure your Google SafeBrowsing API key is set. This can be set within `config/safebrowsing.php` or via the `SAFEBROWSING_API_KEY` environment variable.

For more information on Google SafeBrowsing API keys, please see

Usage
-----

[](#usage)

**Basic Usage**

```
use SafeBrowsing;
...
$result = SafeBrowsing::listed('http://ianfette.org/');
// Returns: (bool) true
```

Contributing
------------

[](#contributing)

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

3365d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9970eede3d31de0b53f01de82cfa5f441eff85a7ddbcb6660ab1eb330e027e11?d=identicon)[ampersa](/maintainers/ampersa)

### Embed Badge

![Health badge](/badges/ampersa-safebrowsing-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/ampersa-safebrowsing-laravel/health.svg)](https://phpackages.com/packages/ampersa-safebrowsing-laravel)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M138](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)

PHPackages © 2026

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