cyberwings / myanmar-phone-number-php
PHP port of ( https://github.com/Melomap/mm_phonenumber ) to check valid myanmar mobile numbers, get mobile operator's name, sanitize mobile numbers and get mobile network types.
Installs: 3 243
Dependents: 1
Suggesters: 0
Security: 0
Stars: 18
Watchers: 3
Forks: 8
Open Issues: 0
This package is not auto-updated.
Last update: 2024-11-11 00:28:05 UTC
README
PHP port of mm_phonenumber to check valid myanmar mobile numbers, get mobile operator's name, sanitize mobile numbers and get mobile network types.
Credit: Original script (Python) Original script (JS)
Installation
TODO
Usage
<?php require __DIR__ . "/vendor/autoload.php"; use CyberWings\MyanmarPhoneNumber; $phone_number = new MyanmarPhoneNumber(); $phone_number->is_telecom('Telenor', "09794303891"); $phone_number->is_telecom('mpt', "09794303891"); $phone_number->is_telecom('ooredoo', "09794303891"); $phone_number->is_telecom('mytel', "09694303891"); $phone_number->is_telecom('mec', "09334303891"); $phone_number->is_valid('09794303891'); $phone_number->telecom_name('09794303891'); $phone_number->add_prefix("0979403891"); ?>
TODO
- Features: Check Network Types
- Installation Instruction
- Packagist *
- Laravel Validation Rule
- Laravel Package