composer require pyaesoneaung/myanmar-phone-validation-rules
use PyaeSoneAung\MyanmarPhoneValidationRules\MyanmarPhone;
$request->validate([
'phone' => ['required', new MyanmarPhone],
]);
use PyaeSoneAung\MyanmarPhoneValidationRules\Mpt;
$request->validate([
'phone' => ['required', new Mpt],
]);
use PyaeSoneAung\MyanmarPhoneValidationRules\Ooredoo;
$request->validate([
'phone' => ['required', new Ooredoo],
]);
use PyaeSoneAung\MyanmarPhoneValidationRules\Telenor;
$request->validate([
'phone' => ['required', new Telenor],
]);
use PyaeSoneAung\MyanmarPhoneValidationRules\Mytel;
$request->validate([
'phone' => ['required', new Mytel],
]);
use PyaeSoneAung\MyanmarPhoneValidationRules\Mec;
$request->validate([
'phone' => ['required', new Mec],
]);