Download the PHP package matmar10/msisdn-format-bundle without Composer
On this page you can find all versions of the php package matmar10/msisdn-format-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download matmar10/msisdn-format-bundle
More information about matmar10/msisdn-format-bundle
Files in matmar10/msisdn-format-bundle
Download matmar10/msisdn-format-bundle
More information about matmar10/msisdn-format-bundle
Files in matmar10/msisdn-format-bundle
Vendor matmar10
Package msisdn-format-bundle
Short Description Symfony bundle for mobile phone number and msisdn validation based on country
License MIT
Package msisdn-format-bundle
Short Description Symfony bundle for mobile phone number and msisdn validation based on country
License MIT
Please rate this library. Is it a good library?
Informations about the package msisdn-format-bundle
msisdn-format-bundle
Build Status:
A lightweight library to validate a msisdn (international representation of a mobile phone) which makes uses of Symfony2 validator
Updates
- Open the country formats file located at:
vendor/lmh/bitcoin-by-mobile/src/Msisdn/Resources/config/msisdn-country-formats.xml
- Find the country code for the country you are launching
- Verify the following attributes exist:
- country prefix
prefix="XX"
- example mobile
exampleMobile="XX XX XX XX XX"
- national dialing prefix
nationalDialingPrefix="0"
- country prefix
- Modify the unit test to expect to be able to validate the msisdn by modifying
Tests/Fixtures/target-countries.yml
- Run the unit test:
./vendor/bin/phpunit
- Verify that the unit test passed; if not, check the format data including the regular expressions. This will require some googling. The test relies on known valid msisdns
- Once the test is passing, commit and push your changes. Tag a new release version
- Update the bitcoinbymobile project dependency version to correspond to your tagged release verison of the msisdn-format-bundle
All versions of msisdn-format-bundle with dependencies
PHP Build Version
Package Version
The package matmar10/msisdn-format-bundle contains the following files
Loading the files please wait ....