commerceguys / addressing

A PHP addressing library, powered by CLDR and Google's address data.
MIT License
922 stars 135 forks source link

Singapore lacks city/locality field. #206

Closed MichelleCox closed 10 months ago

MichelleCox commented 11 months ago

When choosing Singapore for the country, there is only a place for street address, not city/locality. From what I've found on Google, it does not have states but it does have cities. It would be good to have that field available.

bojanz commented 11 months ago

Thank you for reporting this.

UPU confirms the need for a locality field: https://www.upu.int/UPU/media/upu/PostalEntitiesFiles/addressingUnit/sgpEn.pdf (examples with a town name)

bojanz commented 10 months ago

Added a required locality field with the label "City", which defaults to "Singapore" (as allowed by #209 )