|Last Updated|| ||Ratings|| ||Unique User Downloads|| ||Download Rankings|
|2021-11-28 (10 months ago) ||Not yet rated by the users||Total: 80 ||All time: 9,900 This week: 423|
This class can validate and find the operator of a phone number.
It takes a telephone MSISDN number and checks if it is valid.
The class can also determine if the number is of known telephone company operator company.
|MSISDN is a number that is useful to identify a phone number from any country in the world.
This class can determine if a phone number is of a given operator company.
This is a basic PHP 7 package that basically enforces the standard number format of 2547 prrefix of Kenyan based mobile numbers. The clean method also checks for the validity of an MSISDN number if given as 07XX, 7XX or 2547XX formats. Prefixes are updated courtesy of https://en.wikipedia.org/wiki/Telephone_numbers_in_Kenya
Download the package zip, extract and run
composer require allan/msisdn
var_dump(Utility::channel(254720000000)); // string(9) "SAFARICOM"
var_dump(Utility::clean("0720000000")); // int(254720000000)
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.