This package is designed to handle Mobile Device Numbers (MDN) and Electronic Serial Numbers for mobile devices. It is used to validate the numbers and convert ESNs to different formats.
Via Composer
$ composer require katalyst/mdn-esn
$mdn = new Katalyst\MdnEsn\Mdn($mobile_number, $mdn_length);
$validMdn = $mdn->isValid();
$esn = new Katalyst\MdnEsn\Esn($esn);
$validEsn = $esn->isValidFormat();
...
$ phpunit
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.