PHPackages                             ipsrv/ipsrvdb - 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. [Database &amp; ORM](/categories/database)
4. /
5. ipsrv/ipsrvdb

ActiveLibrary[Database &amp; ORM](/categories/database)

ipsrv/ipsrvdb
=============

1.0.1(4y ago)06Apache-2.0PHPPHP &gt;=5.4.0

Since Aug 16Pushed 4y ago1 watchersCompare

[ Source](https://github.com/ipsrv/ipsrvdb-php)[ Packagist](https://packagist.org/packages/ipsrv/ipsrvdb)[ Docs](https://www.ipsrv.net)[ RSS](/packages/ipsrv-ipsrvdb/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

ipsrvdb-php
===========

[](#ipsrvdb-php)

Feature
=======

[](#feature)

1. Support IPv4 &amp; IPv6.
2. Support output db date, description and header.
3. Support output raw IP info and IP info in a array.

Installing
==========

[](#installing)

```
composer require ipsrv/ipsrvdb

```

Example
=======

[](#example)

```

```

Output
======

[](#output)

```
array(10) {
  [0]=>
  string(14) "continent_code"
  [1]=>
  string(12) "continent_zh"
  [2]=>
  string(16) "country_iso_code"
  [3]=>
  string(10) "country_zh"
  [4]=>
  string(17) "province_iso_code"
  [5]=>
  string(11) "province_zh"
  [6]=>
  string(9) "city_code"
  [7]=>
  string(7) "city_zh"
  [8]=>
  string(6) "isp_zh"
  [9]=>
  string(3) "org"
}
string(8) "20210811"
string(25) "IPSrv, Inc. Dat database."
NA,北美洲,US,美国,,,,,,
AS,亚洲,CN,中国,11,北京市,,,中国教育网,
array(10) {
  ["continent_code"]=>
  string(2) "AS"
  ["continent_zh"]=>
  string(6) "亚洲"
  ["country_iso_code"]=>
    }
  string(2) "CN"
  ["country_zh"]=>
  string(6) "中国"
  ["province_iso_code"]=>
  string(2) "11"
  ["province_zh"]=>
  string(9) "北京市"
  ["city_code"]=>
  string(0) ""
  ["city_zh"]=>
  string(0) ""
  ["isp_zh"]=>
  string(15) "中国教育网"
  ["org"]=>
  string(0) ""
}

```

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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 ~0 days

Total

2

Last Release

1782d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7844909d99b1351ecba4bbc42f8c15f46b71771398979687c87ef89e54fb4937?d=identicon)[ipsrv](/maintainers/ipsrv)

---

Top Contributors

[![ipsrv](https://avatars.githubusercontent.com/u/88786190?v=4)](https://github.com/ipsrv "ipsrv (5 commits)")

---

Tags

ipsrvdbipsrvipsrv.net

### Embed Badge

![Health badge](/badges/ipsrv-ipsrvdb/health.svg)

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

###  Alternatives

[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k117.2M118](/packages/jdorn-sql-formatter)[propel/propel1

Propel is an open-source Object-Relational Mapping (ORM) for PHP5.

8351.6M87](/packages/propel-propel1)[jfelder/oracledb

Oracle DB driver for Laravel

11518.4k](/packages/jfelder-oracledb)

PHPackages © 2026

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