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

ActiveLibrary

jimersylee/mobile-locator
=========================

基于国内号段规则的手机号码归属地查询库，支持运营商识别与地区定位，适用于注册验证、用户画像、数据归档等场景 | A mobile number lookup library based on Chinese carrier rules. Identifies carriers and regions, suitable for registration checks, user profiling, and data archiving.

00PHP

Since Jun 9Pushed todayCompare

[ Source](https://github.com/jimersylee/php-mobile-locator)[ Packagist](https://packagist.org/packages/jimersylee/mobile-locator)[ RSS](/packages/jimersylee-mobile-locator/feed)WikiDiscussions main Synced today

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

hejunjie/mobile-locator
=======================

[](#hejunjiemobile-locator)

 [English](./README.md)｜[简体中文](./README.zh-CN.md)---

A mobile number lookup library based on Chinese carrier rules. Identifies carriers and regions, suitable for registration checks, user profiling, and data archiving.

> Current data entries: 483,709

**This project has been parsed by Zread. If you need a quick overview of the project, you can click here to view it：[Understand this project](https://zread.ai/zxc7563598/php-mobile-locator)**

---

This is a mobile number attribution dataset I compiled myself. It allows you to look up the location and carrier information of Chinese mobile numbers based on segment rules. Just like my other data repositories, this one is regularly updated.

In short, it consolidates all those scattered and complicated segment details into a single, easy-to-use JSON file—making lookups fast and straightforward.

If you don’t want to deploy anything and just want to use it directly, you can 👉 [click here to use it](https://hejunjie.life/composer/mobile-locator).

Bulk lookup is supported.

Installation
------------

[](#installation)

Install via Composer:

```
composer require hejunjie/mobile-locator
```

Included Data Files
-------------------

[](#included-data-files)

`data.json`：All data, with a total of **483,709** number segments.

You can directly import the JSON file for processing. The structure is clear, so you can use it right away.

Usage
-----

[](#usage)

I wrote a simple helper class `MobileLocator` to make it easier to access the data and perform common processing.：

```
