手机号码归属地查询
PHP 实现手机号码归属地查询,数据文件来自 https://github.com/lovedboy/phone
composer require "pheicloud/pheiphone"
Pheicloud\Pheiphone\PheiphoneServiceProvider::class,
$phone = app('pheiphone')->find(18621281566);
print_r($info);
// Output;
Array
(
[province] => 上海
[city] => 上海
[postcode] => 200000
[code] => 021
[operators] => 联通
)
https://github.com/lovedboy/phone
https://github.com/shitoudev/phone-location
This project is licensed under the Apache License - see the LICENSE.md file for details