jiemo/mobile

解析手机号码归属地

1.3 2020-05-11 03:34 UTC

This package is auto-updated.

Last update: 2024-10-18 12:31:42 UTC


README

Latest Stable Version Total Downloads Latest Unstable Version License composer.lock

手机号码归属地解析

安装

composer require jiemo/mobile
$mobile = new \Jiemo\Mobile\Parser();
// 解析
$mobile->parse(13333333333);
// 数据库版本
$mobile->getDbVersion();
  • 命令行工具
php bin/parsemobile 13333333333
Array
(
    [province] => 辽宁
    [city] => 大连
    [zip_code] => 116000
    [area_code] => 0411
    [isp] => 联通
)