Download the PHP package zifan/addressparser without Composer
On this page you can find all versions of the php package zifan/addressparser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zifan/addressparser
More information about zifan/addressparser
Files in zifan/addressparser
Package addressparser
Short Description 中文收货地址智能识别
License MIT
Homepage https://github.com/a443939412/address-parse
Informations about the package addressparser
AddressParser
中文收货地址智能识别
参考链接:
- https://github.com/pupuk/address-smart-parse 感谢作者的分享
- https://www.cnblogs.com/gqx-html/p/10790464.html
Take a look at contributing.md to see a to do list.
Requirements
- PHP >= 7.1.0
- Mbstring PHP Extension
Installation
Via Composer
Usage
$options = ['strict' => true]
$parser = new AddressParser($options);
$parser->handle('浙江省杭州市滨江区西兴街道滨康路228号万福中心A座21楼');
Options
Array $options Like:
带关键字固定格式的收货地址示例
京东格式
姓名:张三
地址:浙江省杭州市滨江区 西兴街道 滨康路228号万福中心A座21楼
淘宝格式
收货人: 张三
手机号码: 158****
所在地区: 浙江省杭州市滨江区西兴街道
详细地址: 滨康路228号万福中心A座21楼
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- zifan
- All Contributors
License
MIT. Please see the license file for more information.
All versions of addressparser with dependencies
ext-mbstring Version *
symfony/process Version *
symfony/polyfill-mbstring Version *