PHP code example of pyaesoneaung / myanmar-phone-validation-rules

1. Go to this page and download the library: Download pyaesoneaung/myanmar-phone-validation-rules 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/ */

    

pyaesoneaung / myanmar-phone-validation-rules example snippets


use PyaeSoneAung\MyanmarPhoneValidationRules\MyanmarPhone;

$request->validate([
    'phone' => ['

use PyaeSoneAung\MyanmarPhoneValidationRules\Mpt;

$request->validate([
    'phone' => ['

use PyaeSoneAung\MyanmarPhoneValidationRules\Ooredoo;

$request->validate([
    'phone' => ['

use PyaeSoneAung\MyanmarPhoneValidationRules\Telenor;

$request->validate([
    'phone' => ['

use PyaeSoneAung\MyanmarPhoneValidationRules\Mytel;

$request->validate([
    'phone' => ['

use PyaeSoneAung\MyanmarPhoneValidationRules\Mec;

$request->validate([
    'phone' => ['