2017 © Pedro Peláez
 

library msisdn-format-bundle

Symfony bundle for mobile phone number and msisdn validation based on country

image

matmar10/msisdn-format-bundle

Symfony bundle for mobile phone number and msisdn validation based on country

  • Monday, April 21, 2014
  • by matmar10
  • Repository
  • 1 Watchers
  • 3 Stars
  • 11 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

msisdn-format-bundle

Build Status:, (*1)

  • Master: Build Status
  • Develop: Build Status

A lightweight library to validate a msisdn (international representation of a mobile phone) which makes uses of Symfony2 validator, (*2)

Updates

  1. Open the country formats file located at: vendor/lmh/bitcoin-by-mobile/src/Msisdn/Resources/config/msisdn-country-formats.xml
  2. Find the country code for the country you are launching
  3. Verify the following attributes exist:
    • country prefix prefix="XX"
    • example mobile exampleMobile="XX XX XX XX XX"
    • national dialing prefix nationalDialingPrefix="0"
  4. Modify the unit test to expect to be able to validate the msisdn by modifying Tests/Fixtures/target-countries.yml
  5. Run the unit test: ./vendor/bin/phpunit
  6. 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
  7. Once the test is passing, commit and push your changes. Tag a new release version
  8. Update the bitcoinbymobile project dependency version to correspond to your tagged release verison of the msisdn-format-bundle

The Versions

21/04 2014

dev-master

9999999-dev

Symfony bundle for mobile phone number and msisdn validation based on country

  Sources   Download

MIT

The Requires

 

The Development Requires

validate mobile regex constraint regexp msisdn regular expression

21/04 2014

0.0.1

0.0.1.0

Symfony bundle for mobile phone number and msisdn validation based on country

  Sources   Download

MIT

The Requires

 

The Development Requires

validate mobile regex constraint regexp msisdn regular expression

30/09 2013

dev-develop

dev-develop

  Sources   Download

Apache

The Requires

 

The Development Requires

by John Skilbeck

validate mobile regex constraint regexp msisdn regular expression