michelpeters / cakephp-postcode-nl
Postcode NL helpers/component
Package info
github.com/michelpeters/cakephp-postcode-nl
Type:cakephp-plugin
pkg:composer/michelpeters/cakephp-postcode-nl
dev-master
2015-09-04 02:05 UTC
Requires
- php: >=5.4.16
- cakephp/cakephp: ~3.0
Requires (Dev)
This package is not auto-updated.
Last update: 2026-03-04 16:23:38 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 )