michelpeters / cakephp-postcode-nl
Postcode NL helpers/component
Installs: 3
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2024-05-01 08:00:07 UTC
README
Address autofill/autocomplete and distance calculation for Dutch postal codes
Get the zipcode data
Currently, this plugin is only used for Dutch zipcodes. This might change in the future, if people request such thing. The Dutch zipcodes are in the public domain for some time and one example of a website that publishes those zipcodes, is: www.postcodedata.nl (I'm not in anyway associated with that website).
- Download the full SQL data file from the website (www.postcodedata.nl)
- Use the CREATE DATABASE SQL below to create the table 'zipcodes' for CakePHP => Source: http://www.postcodedata.nl/download/mysql-database-structuur/ ( but below is transformed to CakePHP conventions )