PHPackages                             kellerworld/laravelip - 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. kellerworld/laravelip

ActiveLibrary

kellerworld/laravelip
=====================

ip

0114PHP

Since Feb 15Pushed 4y ago1 watchersCompare

[ Source](https://github.com/kellerworld/laravelip)[ Packagist](https://packagist.org/packages/kellerworld/laravelip)[ RSS](/packages/kellerworld-laravelip/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (1)Used By (0)

laravelip
=========

[](#laravelip)

1、laravelip.sql导入数据库

2、app\\Exceptions\\Handler.php

```
1)use Kellerworld\Laravelip\CheckIP;
2)在render方法中添加
    CheckIP::isNonUS($request,$exception);

```

3、app\\Http\\Controllers\\Controller.php

```
1)use Kellerworld\Laravelip\CheckIP;
2)在__construct方法中添加
          CheckIP::CheckIP();

```

4、composer.json中添加

```
"require": {
    ...
    "kellerworld/laravelip": "dev-master",
    ...
}

```

5、.env
定义全局变量SITE\_ID，COUNTRY\_LIST

```
SITE_ID=5
COUNTRY_LIST=US,DO

```

6、新增config文件：checkip.php

7、执行：composer require kellerworld/laravelip

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 98.3% 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/83651?v=4)[Keller Davis](/maintainers/keller)[@keller](https://github.com/keller)

---

Top Contributors

[![Aididiao](https://avatars.githubusercontent.com/u/50610335?v=4)](https://github.com/Aididiao "Aididiao (59 commits)")[![kellerworld](https://avatars.githubusercontent.com/u/68465067?v=4)](https://github.com/kellerworld "kellerworld (1 commits)")

### Embed Badge

![Health badge](/badges/kellerworld-laravelip/health.svg)

```
[![Health](https://phpackages.com/badges/kellerworld-laravelip/health.svg)](https://phpackages.com/packages/kellerworld-laravelip)
```

PHPackages © 2026

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