PHPackages                             cz88/cz88\_php\_sdk - 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. cz88/cz88\_php\_sdk

ActiveLibrary

cz88/cz88\_php\_sdk
===================

纯真网络官方IP接口查询SDK

1.0.3(4y ago)3951↓100%GPL-3.0-onlyPHP

Since Nov 13Pushed 4y ago2 watchersCompare

[ Source](https://github.com/cz88ip/cz88_php_sdk)[ Packagist](https://packagist.org/packages/cz88/cz88_php_sdk)[ RSS](/packages/cz88-cz88-php-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (4)Dependencies (1)Versions (5)Used By (0)

纯真网络 IP查询接口 官方PHP SDK
=====================

[](#纯真网络-ip查询接口-官方php-sdk)

使用方法
----

[](#使用方法)

### 请到 [阿里云云市场](https://market.aliyun.com/products/57002002/cmapi00046276.html) 购买地址库API套餐，在 [后台](https://market.console.aliyun.com/imageconsole/index.htm?productName=%E7%BA%AF%E7%9C%9FIP%E5%9C%B0%E5%9D%80%E5%BA%93API) 获取AppCode

[](#请到-阿里云云市场-购买地址库api套餐在-后台-获取appcode)

### 安装composer库

[](#安装composer库)

```
composer require cz88/cz88_php_sdk
```

### 安装composer库

[](#安装composer库-1)

```
// 这里传入你的AppCode
$client = new \Cz88\IpSDK\CzClient('bfda20b54da6479cb76a5dxxxx');
$arr1 = $client->query('114.114.114.114');
$arr2 = $client->query('114.114.115.115');
var_dump($arr1);
var_dump($arr2);
```

### 可运行的代码参考`demo.php`，使用前先在命令行中执行`composer install`

[](#可运行的代码参考demophp使用前先在命令行中执行composer-install)

联系方式
----

[](#联系方式)

- 客服QQ：1304576572
- QQ群：482139657(加群请备注：CZ88 PHPSDK)
- PHP支持：进群后找“西柚”
- 购买地址：

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~10 days

Total

4

Last Release

1561d ago

### Community

Maintainers

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

---

Top Contributors

[![ritaswc](https://avatars.githubusercontent.com/u/15887140?v=4)](https://github.com/ritaswc "ritaswc (5 commits)")[![cz88ip](https://avatars.githubusercontent.com/u/94099644?v=4)](https://github.com/cz88ip "cz88ip (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/cz88-cz88-php-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/cz88-cz88-php-sdk/health.svg)](https://phpackages.com/packages/cz88-cz88-php-sdk)
```

PHPackages © 2026

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