matmar10/msisdn-format-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

matmar10/msisdn-format-bundle

Composer 安装命令:

composer require matmar10/msisdn-format-bundle

包简介

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

README 文档

README

Build Status:

  • 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

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

统计信息

  • 总下载量: 18
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固