PHP code example of cyberwings / myanmar-phone-number-php

1. Go to this page and download the library: Download cyberwings/myanmar-phone-number-php library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

cyberwings / myanmar-phone-number-php example snippets



	se 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");