PHPackages                             humanized/php-locale-helpers - 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. [Localization &amp; i18n](/categories/localization)
4. /
5. humanized/php-locale-helpers

ActiveLibrary[Localization &amp; i18n](/categories/localization)

humanized/php-locale-helpers
============================

 Wrapper functions for getting internationalised labels leveraging the build-in PHP Locale libraries

026PHP

Since Oct 4Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Humanized/php-locale-helpers)[ Packagist](https://packagist.org/packages/humanized/php-locale-helpers)[ RSS](/packages/humanized-php-locale-helpers/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Locale Helpers
==================

[](#php-locale-helpers)

A collection of simple wrapper functions leveraging build-in PHP locale libraries

Features
--------

[](#features)

The library contains the following callable classes:

- Country
- Language
- Locale

Each class implements the following static functions:

FunctionExample InputExample Outputall()Country::all()string\[\]: \['AF','AX', 'AL',....\]exists()Country::exists('ps')boolean: truelabel()Country::label('ps','en')string: "Palestine"Dependencies
------------

[](#dependencies)

This package is for use with PHP versions 5.3 and higher and requires supplemental installation of the php-intl extension

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

[](#installation)

### Install Using Composer

[](#install-using-composer)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
$ php composer.phar require humanized/php-locale-helpers "*"

```

or add

```
"humanized/php-locale-helpers": "*"

```

to the `require` section of your `composer.json` file.

###  Health Score

18

—

LowBetter than 7% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a07fca5b8f6fe268961a6744dbfd2175da8c785f5e26b2edaeb552f9bbcabd2?d=identicon)[jeffrey.geyssens](/maintainers/jeffrey.geyssens)

---

Top Contributors

[![jeffrico](https://avatars.githubusercontent.com/u/3632182?v=4)](https://github.com/jeffrico "jeffrico (15 commits)")

### Embed Badge

![Health badge](/badges/humanized-php-locale-helpers/health.svg)

```
[![Health](https://phpackages.com/badges/humanized-php-locale-helpers/health.svg)](https://phpackages.com/packages/humanized-php-locale-helpers)
```

###  Alternatives

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[devaslanphp/auto-translate

Auto generate translation JSON files

6627.3k](/packages/devaslanphp-auto-translate)[renatomarinho/laravel-multi-language

Laravel Multi Language

235.1k](/packages/renatomarinho-laravel-multi-language)

PHPackages © 2026

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