PHPackages                             pangongzi/mobile - 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. pangongzi/mobile

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

pangongzi/mobile
================

高性能中国大陆手机号码归属地查询库，基于二进制数据文件实现，支持毫秒级查询响应

v0.0.2(3mo ago)18MITPHPPHP &gt;=7.4

Since Feb 13Pushed 3mo agoCompare

[ Source](https://github.com/pangongzi/mobile)[ Packagist](https://packagist.org/packages/pangongzi/mobile)[ Docs](https://github.com/pangongzi/mobile)[ RSS](/packages/pangongzi-mobile/feed)WikiDiscussions master Synced 1w ago

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

MobileLocator - 高性能手机号码归属地查询库
=============================

[](#mobilelocator---高性能手机号码归属地查询库)

[![Latest Stable Version](https://camo.githubusercontent.com/19a8a4e2201125e938d0f7d56efdf56835e33a9c919dfa9879d1ef473bcadd22/68747470733a2f2f706f7365722e707567782e6f72672f70616e676f6e677a692f6d6f62696c652f762f737461626c65)](https://packagist.org/packages/pangongzi/mobile)[![Total Downloads](https://camo.githubusercontent.com/30eaac3b9db3b503072467fb845ecc092b86f31c4ade72889d78bab327c9a6d7/68747470733a2f2f706f7365722e707567782e6f72672f70616e676f6e677a692f6d6f62696c652f646f776e6c6f616473)](https://packagist.org/packages/pangongzi/mobile)[![License](https://camo.githubusercontent.com/30096e852876c211598e692af6c41573eea416f67e897805812dad721051e207/68747470733a2f2f706f7365722e707567782e6f72672f70616e676f6e677a692f6d6f62696c652f6c6963656e7365)](https://packagist.org/packages/pangongzi/mobile)[![PHP Version](https://camo.githubusercontent.com/7404ac2849f95f99ace60c4b949c4e57e3188dfc0d5df7a913378138ac571fb6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344372e342d626c7565)](https://www.php.net/)[![Build Status](https://camo.githubusercontent.com/b0c6c6845a74cb65a7f0a32bdcfd8fbf80eeb40026c4029af424ab371c94b8bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6275696c642d70617373696e672d627269676874677265656e)](https://github.com/pangongzi/mobile/actions)

📱 项目简介
------

[](#-项目简介)

MobileLocator 是一个专为中国大陆手机号码设计的高性能归属地查询库。基于优化的二进制数据文件和内存映射技术，提供毫秒级的查询响应速度，适用于高并发的生产环境。

### 🔥 核心优势

[](#-核心优势)

- **极致性能**: 内存映射读取 + 二分查找算法，QPS高达12,000+
- **数据权威**: 517,258条记录，实时更新至2025年02月
- **零依赖**: 纯PHP实现，无需外部数据库
- **企业级**: 单例模式设计，资源占用优化
- **类型安全**: 完整的PHP 7.4+类型声明

🚀 快速开始
------

[](#-快速开始)

### 安装

[](#安装)

```
composer require pangongzi/mobile
```

### 基础使用

[](#基础使用)

```
