定制 janoszen/i18n 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

janoszen/i18n

最新稳定版本:1.0.0

Composer 安装命令:

composer require janoszen/i18n

包简介

The other I18N approach

README 文档

README

This is an I18N library with some non-standard features. Use at your own risk under the BSD license.

Thanks to the DoclerWeb guys for their help. Please visit www.dotroll.com and www.doclerweb.hu

Components

Country

This class has two purposes. First it contains a lot of information on the world's countries, most notably the short and official country names in English and Hungarian as well as in every official language in that country. It also contains the timezone of the capital, the TLD for that country and EU membership information. This information has been hand-picked and may therefore contain errors.

Secondly, it represents a country as an object and can be queried for the name, etc.

Currency

This is a very simple class for currency representation. It currently supports only three currencies: HUF, EUR and USD. This class also contains some style information how the currency normally formats money.

Language

This is a base class for all language representation. Again, this class has two purposes. It serves as an object representation, but also contains a lot of information like character maps for unknown characters, lexicographic ordering, etc. Please be sure to check the PHPDoc comments as features are too numerous to list here.

PhonePrefix

This class contains every country prefix in the world and again can be used as an object representation.

Timestamp

This is a very small utility class used to hold a timestamp in integer format.

统计信息

  • 总下载量: 264
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: BSD
  • 更新时间: 2015-10-05