calibr / country-mobile-carriers
There is no license information available for the latest version (1.0) of this package.
Get list of mobile carriers by country code
1.0
2015-12-25 19:46 UTC
This package is not auto-updated.
Last update: 2024-12-25 19:54:31 UTC
README
Install
composer require calibr/country-mobile-carriers
Usage
$carriers = CountryMobileCarriers::getList("RU"); /** * carriers array will look like this: * [ * [ * "name" => "Baykal Westcom", * "mcc" => 250, * "mnc" => 12 * ], * ... * ] */ // returns whole database as array, key is country code, value is list of carriers // in same format as in getList $allCarriers = CountryMobileCarriers::getAll();
Database is taken from http://mcc-mnc.com/.