PHPackages                             larryli/ipv4-yii2-sample - 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. larryli/ipv4-yii2-sample

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

larryli/ipv4-yii2-sample
========================

IP v4 中国城市地址库 Yii2 示例

1.0.1(10y ago)27MITPHPPHP &gt;=5.4

Since Sep 17Pushed 10y ago1 watchersCompare

[ Source](https://github.com/larryli/ipv4-yii2-sample)[ Packagist](https://packagist.org/packages/larryli/ipv4-yii2-sample)[ Docs](https://github.com/larryli/ipv4-yii2-sample)[ RSS](/packages/larryli-ipv4-yii2-sample/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (7)Versions (5)Used By (0)

IP v4 Yii2 示例
=============

[](#ip-v4-yii2-示例)

通过 composer 安装
--------------

[](#通过-composer-安装)

```
composer global require "fxp/composer-asset-plugin:~1.1.0"
composer create-project --prefer-dist --stability=stable larryli/ipv4-yii2-sample sample
```

初始化
---

[](#初始化)

```
./yii init
```

PHP 内建服务器
---------

[](#php-内建服务器)

```
php -S localhost:9000 -t web
```

相关包
---

[](#相关包)

- 核心 [larryli/ipv4](https://github.com/larryli/ipv4)
- 控制台命令 [larryli/ipv4-console](https://github.com/larryli/ipv4-console)
- Medoo 数据库支持 [larryli/ipv4-medoo](https://github.com/larryli/ipv4-medoo)
- Yii2 组件 [larryli/ipv4-yii2](https://github.com/larryli/ipv4-yii2)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Every ~104 days

Total

3

Last Release

3681d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/96ad7a2df570547276deb3f07f6e604f897c3dcbe495d55c811b9ae7e3b484ae?d=identicon)[larryli](/maintainers/larryli)

---

Top Contributors

[![larryli](https://avatars.githubusercontent.com/u/10723?v=4)](https://github.com/larryli "larryli (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/larryli-ipv4-yii2-sample/health.svg)

```
[![Health](https://phpackages.com/badges/larryli-ipv4-yii2-sample/health.svg)](https://phpackages.com/packages/larryli-ipv4-yii2-sample)
```

###  Alternatives

[tourze/workerman-yii2

541.3k](/packages/tourze-workerman-yii2)

PHPackages © 2026

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