rapidez / pro6pp-postcode
Support postcode lookup using pro6pp.nl
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/rapidez/pro6pp-postcode
Requires
- php: ^8.1
- rapidez/core: ^2.8|^3.0|^4.0
This package is auto-updated.
Last update: 2025-10-05 10:34:27 UTC
README
Support postcode lookup using pro6pp.nl
Installation
composer require rapidez/pro6pp-postcode
Configuration
Add your credentials in the .env
PRO6PP_API_KEY=
The key that needs to be used might also be called auth_key
Customisation
In case you have your own postcode fields you want checked and updated you can emit the postcode-change
event passing a reactive object with the following keys:
country_id/country_code
postcode
street[0]
street[1]
city
Then you can use it like:
<input v-on:change="window.app.$emit('postcode-change', addressVariables)" name="postcode" label="Postcode" v-model="addressVariables.postcode" required /> <input v-on:change="window.app.$emit('postcode-change', addressVariables)" name="street[1]" type="number" label="Housenumber" v-model="addressVariables.street[1]" placeholder="" />
Note
Currently only Dutch address completion is implemented!
License
GNU General Public License v3. Please see License File for more information.