Search by

rapidez / pro6pp-postcode

rapidez

This package is abandoned and no longer maintained. The author suggests using the rapidez/postcode package instead.

Support postcode lookup using pro6pp.nl

Package info

github.com/rapidez/pro6pp-postcode

pkg:composer/rapidez/pro6pp-postcode

Statistics

Installs: 448

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

5.0.0 2026-09-08 08:56 UTC

This package is auto-updated.

Last update: 2026-09-08 09:00:16 UTC


README

Warning

Deprecated! Use https://github.com/rapidez/postcode

Rapidez pro6pp-postcode

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.$emit('postcode-change', addressVariables)" 
    name="postcode" 
    label="Postcode" 
    v-model="addressVariables.postcode" 
    required
/>
<input 
    v-on:change="window.$emit('postcode-change', addressVariables)" 
    name="street[1]" 
    type="number" 
    label="House number" 
    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.