rapidez/pro6pp-postcode
最新稳定版本:4.0.0
Composer 安装命令:
composer require rapidez/pro6pp-postcode
包简介
Support postcode lookup using pro6pp.nl
README 文档
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_codepostcodestreet[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.
统计信息
- 总下载量: 57
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2025-03-19