GithubHelp home page GithubHelp logo

chrunlee / addressparse Goto Github PK

View Code? Open in Web Editor NEW

This project forked from unclevenn/addressparse

0.0 0.0 0.0 64 KB

地址解析(类似于顺丰快递填写地址时输入一大段地址将其解析成各个信息)

PHP 100.00%

addressparse's Introduction

AddressParse

##用于地址解析的类库

使用方法: (new AddressParse())->parse('填写的地址')

可以将一段较为复杂的地址解析出来

例如:北京市朝阳区富康路姚家园3号楼5单元3305室马云15000000000邮编038300

结果:

Array

(

[name] => 马云

[mobile] => 15000000000

[detail] => 

[zip_code] => 038300

[phone] => 

[province] => 北京

[city] => 北京

[area] => 朝阳区

[addr] => 富康路姚家园3号楼5单元3305室

[result] => 

)

addressparse's People

Contributors

unclevenn avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.