PHPackages                             trustip/trustip - 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. trustip/trustip

ActiveLibrary[Security](/categories/security)

trustip/trustip
===============

A Laravel package from Trustip.io for VPN and Proxy detection, it allows you to check if an IP address is a Proxy, VPN, TOR, Hosting, Bad search engine robots or not.

v1.1(1y ago)11.6k↑11.1%2MITPHPPHP &gt;=7.3

Since Jan 23Pushed 1y ago1 watchersCompare

[ Source](https://github.com/trustip/trustip)[ Packagist](https://packagist.org/packages/trustip/trustip)[ Docs](https://trustip.io)[ RSS](/packages/trustip-trustip/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (2)

Trustip - VPN &amp; Proxy Detection
===================================

[](#trustip---vpn--proxy-detection)

A Laravel package for VPN &amp; Proxy Detection by Trustip.io

[![Trustip](https://camo.githubusercontent.com/cc27a526e9fb526e29d4114eee16dd11dcc6ad2d9fa7dc83da20f99daff4bc00/68747470733a2f2f7777772e6d65646961666972652e636f6d2f636f6e766b65792f616131652f73306838636237787336756e776d6c7a672e6a7067)](https://camo.githubusercontent.com/cc27a526e9fb526e29d4114eee16dd11dcc6ad2d9fa7dc83da20f99daff4bc00/68747470733a2f2f7777772e6d65646961666972652e636f6d2f636f6e766b65792f616131652f73306838636237787336756e776d6c7a672e6a7067)

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

[](#installation)

You can install the package via composer:

```
composer require trustip/trustip
```

You need to set `TRUSTIP_API_KEY` in your `.env` file before using the package. You can get the API key from [Trustip.io](https://trustip.io/)

```
TRUSTIP_API_KEY=your_api_key
```

You can publish the config file with:

```
php artisan vendor:publish --provider="Trustip\Trustip\Providers\TrustipServiceProvider"
```

Or create the config file config/trustip.php and add this code:

```
