Skip to content

feat(isMobilePhone): add km-KH (Cambodia) mobile phone validation#2735

Open
DevLikhith5 wants to merge 1 commit into
validatorjs:masterfrom
DevLikhith5:add/km-kh-mobile-phone
Open

feat(isMobilePhone): add km-KH (Cambodia) mobile phone validation#2735
DevLikhith5 wants to merge 1 commit into
validatorjs:masterfrom
DevLikhith5:add/km-kh-mobile-phone

Conversation

@DevLikhith5
Copy link
Copy Markdown

Summary

Adds Cambodian (km-KH) mobile phone validation to isMobilePhone.

Cambodia phone numbers follow the format:

  • Country code: +855
  • Mobile prefixes: 1x, 6x, 7x, 8x, 9x
  • Subscriber number: 6-7 digits
  • National format: 0TT AXX XXX/Y (9-10 digits with leading 0)
  • International format: +855 TT AXX XXX/Y (11-12 digits)

Refs #1761

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (7fdc788) to head (4107150).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #2735   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          114       114           
  Lines         2587      2587           
  Branches       656       656           
=========================================
  Hits          2587      2587           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant