rauwebieten/zipcodes 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rauwebieten/zipcodes

Composer 安装命令:

composer require rauwebieten/zipcodes

包简介

Benelux zipcodes

README 文档

README

Travis build status Maintainability StyleCI

Zipcodes

A collection of country zipcodes (postal codes).

Currently supported:

  • BE
  • DE
  • ES
  • FR
  • IT
  • LU
  • NL

All data is fetched from geonames.org and converted to PHP array files.

Installation

install library

composer require rauwebieten/zipcodes

Usage

Get all zipcodes for a country (use the country's ISO code as parameter)

$data = \RauweBieten\ZipCodes\ZipCodes::getData('BE');

You'll receive an array of zipcode entries:

[
    [
            "country" => "DE"
            "zipcode" => "01945"
            "place" => "Schwarzbach"
            "latitude" => "51.45"
            "longitude" => "13.9333"
    ],
    ...
]

Use this data to populate your database.
Do not use directly :)

Contribute

Need some country zipcodes not supported yet?

  1. Leave a github issue

  2. or do pull request and use the builder like this, and follow the CLI instructions

     "bin/zipcodes"
    

统计信息

  • 总下载量: 12
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2021-03-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固