PHPackages                             invoice/phonelocation - 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. invoice/phonelocation

ActiveLibrary

invoice/phonelocation
=====================

手机号码归属地查询

1.2(6y ago)379PHP

Since May 27Pushed 6y agoCompare

[ Source](https://github.com/ofancn/phonelocation)[ Packagist](https://packagist.org/packages/invoice/phonelocation)[ RSS](/packages/invoice-phonelocation/feed)WikiDiscussions master Synced 2d ago

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

PhoneLocation 奥凡手机号码归属地查
========================

[](#phonelocation-奥凡手机号码归属地查)

手机号码归属地查询

支持号段 ^1\[345789\]

记录条数415284条

离线数据库2.8MB

安装
--

[](#安装)

```
composer require invoice/phonelocation
```

使用
--

[](#使用)

```
use Ofan\PhoneLocation;

$mobileNumber = new PhoneLocation();
print_r($mobileNumber->find(15900000767));
print_r($mobileNumber->find(15900008755));
print_r($mobileNumber->find(15919252188));
```

```
Array
(
    [sp] => 中国移动
    [province] => 广东
    [city] => 中山
    [zip_code] => 528400
    [area_code] => 0760
)
Array
(
    [sp] => 中国移动
    [province] => 广东
    [city] => 中山
    [zip_code] => 528400
    [area_code] => 0760
)
Array
(
    [sp] => 中国移动
    [province] => 广东
    [city] => 珠海
    [zip_code] => 519000
    [area_code] => 0756
)
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

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

Total

3

Last Release

2535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4d8ec175cba785ce9881ae0f15648b88895bed17c6968a58a2ae436996a02bef?d=identicon)[invoice](/maintainers/invoice)

---

Top Contributors

[![ofancn](https://avatars.githubusercontent.com/u/38897378?v=4)](https://github.com/ofancn "ofancn (2 commits)")

---

Tags

phonemobilelocation

### Embed Badge

![Health badge](/badges/invoice-phonelocation/health.svg)

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

###  Alternatives

[alexandernst/yii2-device-detect

Yii2 extension for Mobile-Detect library

141846.2k3](/packages/alexandernst-yii2-device-detect)[shitoudev/phone-location

location of phone number

15890.4k](/packages/shitoudev-phone-location)[messagecloud/gateway-php

A PHP library to help you integrate the MessageCloud Gateway.

137.2k](/packages/messagecloud-gateway-php)

PHPackages © 2026

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