library mobilelookup
library for get location info via china mobile number
mobilelookup/mobilelookup
library for get location info via china mobile number
- Thursday, July 26, 2018
- by nathanwu
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
MobileLookup
Install
composer require mobilelookup/mobilelookup
Library
Library for get location and carrier information via china mobile number, (*1)
Sample
use MobileLookup\Client\BaifubaoClient;
use MobileLookup\MobileLookupService;
use Symfony\Component\Cache\Simple\FilesystemCache;
require dirname(__DIR__) . '/vendor/autoload.php';
$cache = new FilesystemCache('namespace', 1 * 60 * 60 * 24, dirname(__DIR__) . '/runtime/cache');
$mobileLookupService = new MobileLookupService(new BaifubaoClient($cache));
echo $mobileLookupService->getLocation('13605177123') . PHP_EOL;
echo $mobileLookupService->getCarrier('13605177123') . PHP_EOL;
License
Copyright 2008-2018., (*2)
Licensed under the GNU Lesser General Public License, Version 3.0, (*3)
dev-master
9999999-dev
library for get location info via china mobile number
Sources
Download
MIT
The Requires
The Development Requires
0.0.1
0.0.1.0
library for get location info via china mobile number
Sources
Download
MIT
The Requires
The Development Requires