feat: add E.164 phone validation and PhoneInput component (Closes #25) #85

Merged
shahondin1624 merged 1 commits from feature/issue-25-phone-e164-validation into main 2026-04-07 13:19:02 +02:00
Owner

Summary

  • Creates lib/Validation/PhoneValidator.php with E.164 validation and German number normalization (0176... -> +49176...)
  • Integrates validation into MemberService::addPhone and updatePhone (reject invalid, auto-normalize)
  • Adds src/components/PhoneInput.vue with real-time formatting hints and validation feedback

Closes #25

## Summary - Creates `lib/Validation/PhoneValidator.php` with E.164 validation and German number normalization (0176... -> +49176...) - Integrates validation into MemberService::addPhone and updatePhone (reject invalid, auto-normalize) - Adds `src/components/PhoneInput.vue` with real-time formatting hints and validation feedback Closes #25
shahondin1624 added 1 commit 2026-04-07 13:18:59 +02:00
Adds PhoneValidator PHP class with normalization (0176... -> +49176...,
00XX... -> +XX...) and E.164 format validation. Integrates validation
into MemberService addPhone/updatePhone. Creates PhoneInput.vue component
with real-time formatting hints and validation feedback.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
shahondin1624 merged commit 9f1dd057db into main 2026-04-07 13:19:02 +02:00
shahondin1624 deleted branch feature/issue-25-phone-e164-validation 2026-04-07 13:19:03 +02:00
Sign in to join this conversation.