PHP code example of buqiu / mobile-location
1. Go to this page and download the library: Download buqiu/mobile-location library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
buqiu / mobile-location example snippets
use Location;
Location::mobile('13100000000');
[
'Service' => '服务商[ali:阿里云,third:第三方]',
'Company' => '号码当前归属运营商',
'Province' => '省份',
'City' => '城市'
]
php artisan vendor:publish --tag=location