PHPackages                             jayin/address-parser - 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. jayin/address-parser

ActiveLibrary

jayin/address-parser
====================

收货地址智能解析

1.0.0(3y ago)234MITPHPPHP &gt;=7.0

Since Sep 23Pushed 3y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

Address Parser
==============

[](#address-parser)

> 本项目参考了[pupuk/address](https://github.com/pupuk/address)

收货地址智能解析

1、把字符串解析成姓名、收货电话、邮编、身份证号、收货地址 2、把收货地址解析成省、市、区县、街道地址

Install
-------

[](#install)

```
composer require jayin/address-parser -vvv
```

Usage
-----

[](#usage)

```
use Jayin\AddressParser\AddressParser;

AddressParser::smart('江西省抚州市东乡区孝岗镇恒安东路125号1栋3单元502室 13511112222 吴刚', true);
```

返回

```
(
    [mobile] => 13511112222
    [name] => 吴刚
    [addr] => 江西省抚州市东乡区孝岗镇恒安东路125号1栋3单元502室
    [province] => 江西省
    [city] => 抚州市
    [region] => 东乡区
    [street] => 孝岗镇恒安东路125号1栋3单元502室
)
```

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

1332d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/62f80da352033f962733c8ce149a74f1ea586ab9bcb6b805311281d9563509b7?d=identicon)[Jayin](/maintainers/Jayin)

---

Top Contributors

[![Jayin](https://avatars.githubusercontent.com/u/2763894?v=4)](https://github.com/Jayin "Jayin (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jayin-address-parser/health.svg)

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

PHPackages © 2026

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