PHP code example of jimersylee / mobile-locator

1. Go to this page and download the library: Download jimersylee/mobile-locator 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/ */

    

jimersylee / mobile-locator example snippets



use Hejunjie\MobileLocator\MobileLocator;

// Retrieve all data.
$data = MobileLocator::getData();


use Hejunjie\MobileLocator\MobileLocator;

// Get carrier information based on the phone number.
$info = MobileLocator::getCarrierInfo('16601750925');