承接 bartfeenstra/cldr 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

bartfeenstra/cldr

最新稳定版本:1.0.0

Composer 安装命令:

composer require bartfeenstra/cldr

包简介

README 文档

README

Introduction

BartFeenstra/cldr is a PHP library to parse decimals, currency amounts, percentages, and even integers using Unicode Common Locale Data Repository number patterns. Unlike PHP's Intl extension, this library allows CLDR patterns to contain non-standard characters (such as HTML) and it does not have dependencies, which is ideal for shared hosting.

Usage

It offers four classes (CurrencyFormatter, DecimalFormatter, IntegerFormatter, and PercentageFormatter) which accept a CLDR pattern and optional replacements for replaceable special symbols, and can be reused to format different numbers.

Requirements

  • PHP 5.3.x or higher
  • PHPUnit 3.7.* (for running tests only)

Integrates with

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-12-03