saurav/identifymobilenumber

Verify NTC and NCELL mobile number

1.0.0 2018-02-23 06:43 UTC

This package is not auto-updated.

Last update: 2024-05-26 03:27:47 UTC


README

A simple library to detect mobile number provider. It is for NTC and NCELL in Nepal

Installation

*composer require saurav/identifymobilenumber

Usage Example

use IdentifyMobileNumber

  • echo IdentifyMobileNumber::check('98073a3730'); // NaN
  • echo IdentifyMobileNumber::check('9807353730'); // NCELL
  • echo IdentifyMobileNumber::check('9843642827'); // NTC

License

The Laravel framework is open-sourced software licensed under the MIT license.