2017 © Pedro Peláez
 

library phone-location

location of phone number

image

shitoudev/phone-location

location of phone number

  • Wednesday, May 9, 2018
  • by shitoudev
  • Repository
  • 2 Watchers
  • 42 Stars
  • 4,841 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 7 Forks
  • 0 Open issues
  • 7 Versions
  • 16 % Grown

The README.md

手机号码归属地查询

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

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

提示

由于2019年11月携号转网已开始实行,手机号的运营商可能与实际不符,请谨慎将运营商信息用于重要的业务上。, (*3)

Installation

composer require "shitoudev/phone-location:^0.1"

Usage

<?php
use Shitoudev\Phone\PhoneLocation;

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

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

$pl = new PhoneLocation();
$info = $pl->find(18621281566);
print_r($info);

// Output;
Array
(
    [province] => 上海
    [city] => 上海
    [postcode] => 200000
    [tel_prefix] => 021
    [sp] => 联通
)

Thanks

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

License

MIT license., (*5)

The Versions

09/05 2018

dev-master

9999999-dev https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location

09/05 2018

v0.1.5

0.1.5.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location

05/02 2018

v0.1.4

0.1.4.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location

11/05 2017

v0.1.3

0.1.3.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location

21/12 2016

v0.1.2

0.1.2.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

The Development Requires

phone location

18/11 2016

v0.1.1

0.1.1.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

phone location

18/11 2016

v0.1

0.1.0.0 https://github.com/shitoudev/phone-location

location of phone number

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

phone location