PHPackages                             soul/address-parse - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. soul/address-parse

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

soul/address-parse
==================

收货地址解析，成功率99%以上，支持（身份证号，电话，座机，区号，省市区街道地址)

v1.1.3(4y ago)405.4k↓50%10[4 issues](https://github.com/hwj911327/address-parse/issues)MITPHPPHP &gt;=7.2.0

Since Sep 27Pushed 4y ago1 watchersCompare

[ Source](https://github.com/hwj911327/address-parse)[ Packagist](https://packagist.org/packages/soul/address-parse)[ RSS](/packages/soul-address-parse/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

收货地址智能解析
========

[](#收货地址智能解析)

将连在一起的收获信息解析成单个信息方便录入.

项目不能保证100%解析成功，从使用情况来看，解析成功率保持在99%以上。

如果有什么问题或建议，可以 提交[Github Issue](https://github.com/hwj911327/address-parse/issues)

解析地址 :
------

[](#解析地址-)

### 1.调用方法

[](#1调用方法)

```
$address    = '身份证号：51250119910927226x 收货地址张三收货地址：成都市武侯区美领馆路11号附2号 617000  136-3333-6666 ';
$gd_key     = '******' //高德开放平台(https://lbs.amap.com/)key 非必填 (使用后可提高识别精度)
$res        = AddressParse::getDetail($address,$gd_key)
```

### 2.返回数组

[](#2返回数组)

```
[
    'name'              => '张三',
    'mobile'            => 13633336666,
    'id_card'           => '51250119910927226X',
    'zip_code'          => 617000,
    'province'          => [
        'code' => 510000,
        'name' => '四川省',
    ],
    'city'              => [
        'code' => 510100,
        'name' => '成都市',
    ],
    'district'          => [
        'code' => 510107,
        'name' => '武侯区',
    ],
    'formatted_address' => '美领馆路11号附2号'
];
```

联系作者:
-----

[](#联系作者)

- Email：
- QQ: 312434990

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity35

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~163 days

Recently: every ~204 days

Total

6

Last Release

1606d ago

PHP version history (2 changes)v1.0.0PHP ~5.6|~7.0

v1.1.0PHP &gt;=7.2.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/d68eab5075894c0f72051d09a08b9af5323f01edf16f6dc0765d202be8629567?d=identicon)[soul](/maintainers/soul)

---

Top Contributors

[![RemoveMiss](https://avatars.githubusercontent.com/u/20706104?v=4)](https://github.com/RemoveMiss "RemoveMiss (20 commits)")[![hwj911327](https://avatars.githubusercontent.com/u/32668507?v=4)](https://github.com/hwj911327 "hwj911327 (2 commits)")[![AilonHuang](https://avatars.githubusercontent.com/u/18651361?v=4)](https://github.com/AilonHuang "AilonHuang (1 commits)")[![liujundezhanghao](https://avatars.githubusercontent.com/u/20275621?v=4)](https://github.com/liujundezhanghao "liujundezhanghao (1 commits)")

---

Tags

addressparse

### Embed Badge

![Health badge](/badges/soul-address-parse/health.svg)

```
[![Health](https://phpackages.com/badges/soul-address-parse/health.svg)](https://phpackages.com/packages/soul-address-parse)
```

###  Alternatives

[enqueue/dsn

Parse DSN

12525.5M45](/packages/enqueue-dsn)[gabrielelana/byte-units

Library to parse, format and convert byte units

1672.2M19](/packages/gabrielelana-byte-units)[markrogoyski/ipv4-subnet-calculator

Network calculator for subnet mask and other classless (CIDR) network information.

177813.7k6](/packages/markrogoyski-ipv4-subnet-calculator)[sylius/addressing-bundle

Addressing and zone management for Symfony applications.

33221.4k3](/packages/sylius-addressing-bundle)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[yieldstudio/nova-google-autocomplete

A Laravel Nova Google autocomplete field.

12218.4k](/packages/yieldstudio-nova-google-autocomplete)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
