2017 © Pedro Peláez
 

library mobile2location

location of mobile phone number

image

lyhiving/mobile2location

location of mobile phone number

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

手机号码归属地查询

Latest Stable Version Build Status Minimum PHP Version, (*1)

PHP 实现手机号码归属地查询,数据文件来自 https://github.com/lovedboy/phone, (*2)

  • 归属地信息库文件大小:3,501,109 字节
  • 归属地信息库最后更新:2018年4月
  • 手机号段记录条数:387695

Installation

composer require "lyhiving/mobile2location:^1.0"

Usage

<?php
use lyhiving\Mobile\Mobile2Location;

// composer 方式安装
// include './vendor/autoload.php';

// 非 composer 方式安装的,引入文件
// include './src/Mobile2Location.php';

$pl = new Mobile2Location();
$info = $pl->find(13800138000);
print_r($info);

// Output;
Array
(
    [province] => 北京
    [city] => 北京
    [postcode] => 100000
    [tel_prefix] => 010
    [sp] => 移动
)

Thanks

https://github.com/lovedboy/phone, (*3)

https://github.com/xluohome/phonedata, (*4)

License

MIT license., (*5)

The Versions

23/06 2018

dev-master

9999999-dev https://github.com/lyhiving/mobile2location

location of mobile phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

mobile phone location

23/06 2018

1.1

1.1.0.0 https://github.com/lyhiving/mobile2location

location of mobile phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

mobile phone location

23/06 2018

1.0

1.0.0.0 https://github.com/lyhiving/mobile2location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location