承接 matusstafura/magento2-phone-validation 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

matusstafura/magento2-phone-validation

最新稳定版本:v0.2.0

Composer 安装命令:

composer require matusstafura/magento2-phone-validation

包简介

Phone validation for Magento 2

README 文档

README

Problem: Magento 2 allows invalid characters in the phone number field:

Fresh Magento 2 installation:
before validation
Validation with Module:
after validation

This module adds phone number validation to key Magento 2 forms such as:

  • 🛒 Checkout (shipping & billing address)
  • 🧑 during Customer registration (todo)

📦 Installation (via Composer Path Repository)

  1. Install via composer(recommended)
composer require matusstafura/magento2-phone-validation  

or clone this module to app/code/MatusStafura/PhoneValidation:

git clone git@github.com:matusstafura/magento2-phone-validation.git 
  1. Enable and compile module:
bin/magento module:enable MatusStafura_PhoneValidation
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:flush
  1. Enable / disable in Admin:

Stores > Configuration > Customers > Customer Configuration > Phone Validation

🤝 Contributing

Contributions are very welcome! If you'd like to improve the module, add features, fix bugs, or improve documentation:

  1. Fork the repository
  2. Create a new branch:
  git checkout -b feature/your-feature-name
  1. Make your changes and commit with clear messages
  2. Push to your fork:
  git push origin feature/your-feature-name
  1. Open a pull request on GitHub

📃 License

MIT

Support

"Buy Me A Coffee"

统计信息

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

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-30