Download the PHP package fawkescreatives/myanmar-phone without Composer
On this page you can find all versions of the php package fawkescreatives/myanmar-phone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fawkescreatives/myanmar-phone
More information about fawkescreatives/myanmar-phone
Files in fawkescreatives/myanmar-phone
Package myanmar-phone
Short Description This package is for building easy to do Myanmar phone number in laravel.
License MIT
Informations about the package myanmar-phone
Laravel Myanmar Phone
Myanmar phone number များနှင့်ပတ်သက်ပြီး format လုပ်ခြင်းနှင့် check လုပ်နိုင်ရန်ရည်ရွယ်ပြီးတည်ဆောက်သည်။
Table of Contents
- [Installation](#installation) - [Configuration](#configuration) - [Usage](#usage) - [Validation](#validation) - [Functions](#functions)
Installation
Composer ကိုသုံးပြီး Install လုပ်ပါ။
Laravel Package Auto-Discovery မလုပ်လျှင် config/app.php
file ထဲမှ providers
ထဲမှာ ဒီလိုသွားထည့်ပါ။
Configuration
config/myanmar_phone.php
တွင် default format standard ကိုသတ်မှတ်နိုင်သည်။
Usage
-
Option 1: Use Injection
- Option 2: Use Facade
Validation
eg..,
Functions
eg..,
- format($format)
- formatE164()
- formatInternational()
- formatRFC3966(string $separator = null)
- formatNational(string $separator = null)
- operator($number = null)
- telecom($number = null)
- isTelenor($number = null)
- isOoredoo($number = null)
- isMpt($number = null)
- isMyTel($number = null)
- isMec($number = null)
- getCountryCode()
- getStrPhoneNumber()
- getPhoneNumber($leadingZero = true)
Testing
You can run the tests with:
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
All versions of myanmar-phone with dependencies
illuminate/contracts Version ^10.0|^11.0|^12.0
giggsey/libphonenumber-for-php Version ^8.0