feat: E.164 phone validation and storage with libphonenumber

- Add giggsey/libphonenumber-for-php, PhoneNumberNormalizer, ValidPhoneNumber rule

- Store subscribers as E.164; mutator normalizes on save; optional phone required from form block

- Migration to normalize legacy subscriber phones; Mailwizz/search/UI/tests updated

- Add run-deploy-from-local.sh and PREREGISTER_DEFAULT_PHONE_REGION in .env.example

Made-with: Cursor
This commit is contained in:
2026-04-04 14:25:52 +02:00
parent 5a67827c23
commit 17e784fee7
21 changed files with 476 additions and 18 deletions

5
run-deploy-from-local.sh Normal file
View File

@@ -0,0 +1,5 @@
ssh hausdesign-vps "sudo -u hausdesign bash -c '
export PATH=\"\$HOME/.local/share/fnm:\$PATH\"
eval \"\$(fnm env)\"
cd /home/hausdesign/preregister && ./deploy.sh
'"