PHPackages                             timatanga/unicode - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. timatanga/unicode

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

timatanga/unicode
=================

The timatanga Unicode package. Common International Components for Unicode (ICU ) datasets

v0.1.0(4y ago)02MITPHPPHP ^8.0

Since Oct 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/timatanga/unicode)[ Packagist](https://packagist.org/packages/timatanga/unicode)[ RSS](/packages/timatanga-unicode/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Utilities
=========

[](#utilities)

This package provides common utility capabilities for PHP applications.

One set of utility classes is focused on International Components for Unicode (ICU ) datasets. For the following components, default ICU datasets are available as configuration files:

- Locales
- Currencies
- Timezones

Installation
------------

[](#installation)

composer require timatanga/unicode

Basic Usage International Components for Unicode (ICU)
------------------------------------------------------

[](#basic-usage-international-components-for-unicode-icu)

While creating instances of utility classes, default datasets are loaded from config files.

```
// create new currency class loads default configuration
$currencies = new Currency();
$locales = new Locale();
$timezones = new Timezone();

```

Datasets are searchable with key value pairs

```
// search for datasets
$currency = $currencies->search('code', 'USD']);
$locale = $locales->search('code', 'de']);

```

Custom Usage International Components for Unicode (ICU)
-------------------------------------------------------

[](#custom-usage-international-components-for-unicode-icu)

Custom utility datasets can be loaded via the constructor method. Custom datasets must comply to the internal data structure

```
// create new currency class with custom dataset
$currencies = new Currency([...]);
$locales = new Locale([...]);
$timezones = new Timezone([...]);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1689d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e85d042af6c9730c747e158b2b03e6876ebc03b3d2bdf5e3fe5e55fe4f6e6b2?d=identicon)[dbizapps](/maintainers/dbizapps)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/timatanga-unicode/health.svg)

```
[![Health](https://phpackages.com/badges/timatanga-unicode/health.svg)](https://phpackages.com/packages/timatanga-unicode)
```

###  Alternatives

[clearstream/xml-to-array

Incredibly simple XML to array PHP converter

6736.7k](/packages/clearstream-xml-to-array)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
