giggsey/locale
最新稳定版本:2.8.0
Composer 安装命令:
composer require giggsey/locale
包简介
Locale functions required by libphonenumber-for-php
README 文档
README
A library providing up to date CLDR. Primarily as a requirement of libphonenumber-for-php.
Reasoning
This was created because libphonenumber-for-php required the intl extension to use the Geo Coder. The extension is not installed by default, and can be a hurdle for users. It also relies on the CLDR data provided by the Operating System, which is quite often out of date.
Generating data
Data is compiled from the latest CLDR Data as specified in CLDR-VERSION.txt.
A Phing task is used to compile the data from JSON into native PHP arrays.
It is not normally needed to compile the data, as this repository will always have the up to date CLDR data. To manually compile the data, ensure you have all the dependencies installed, then run:
vendor/bin/phing compile
统计信息
- 总下载量: 132.82M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 631
- 点击次数: 1
- 依赖项目数: 11
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04