dmt-software/address-abbreviation
Composer 安装命令:
composer require dmt-software/address-abbreviation
包简介
Abbreviate addresses while keeping the meaning intact.
README 文档
README
Abbreviate address components while preserving their meaning to accommodate systems with limited address length.
Installation
composer require dmt-software/address-abbreviation
Usage
use DMT\Address\Abbreviation\Dutch\Street\TypeNameAbbreviator; $abbreviator = new TypeNameAbbreviator(); print $abbreviator->abbreviate('Jan Maurits van Nassaustraat'); // outputs: Jan Maurits van Nassaustr
Configured sets
use DMT\Address\Abbreviation\AbbreviationGroupFactory; $abbreviator = (new AbbreviationGroupFactory())->getNen5825AbbreviationGroup(); print $abbreviator->abbreviate('Burgemeester W. van Eertenstraat'); // outputs: Burg W van Eertenstraat (according to NEN 5825:2002)
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-06-01