PHPackages                             giggsey/locale - 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. giggsey/locale

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

giggsey/locale
==============

Locale functions required by libphonenumber-for-php

2.9.0(2mo ago)634141.2M—4.2%1113MITPHPPHP ^8.1CI failing

Since Aug 5Pushed 2mo ago3 watchersCompare

[ Source](https://github.com/giggsey/Locale)[ Packagist](https://packagist.org/packages/giggsey/locale)[ RSS](/packages/giggsey-locale/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (14)Versions (26)Used By (13)

Locale [![Build Status](https://github.com/giggsey/locale/workflows/Continuous%20Integration/badge.svg)](https://github.com/giggsey/locale/actions?query=workflow%3A%22Continuous+Integration%22) [![Coverage Status](https://camo.githubusercontent.com/6152283be714c98d4a44182afe8b226b68dc981957893b03f663d8b935770153/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f676967677365792f4c6f63616c652e7376673f7374796c653d666c61742d737175617265)](https://coveralls.io/r/giggsey/Locale)
=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#locale--)

[![Total Downloads](https://camo.githubusercontent.com/847c4b9d9acfdf71e5c8d2074724e6607ad2bd8855f23851d942488f2a6b3adb/68747470733a2f2f706f7365722e707567782e6f72672f676967677365792f6c6f63616c652f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/giggsey/locale) [![Latest Stable Version](https://camo.githubusercontent.com/c50762b99f20a3d44c5209b7347d7aafa90b372b49e7bcf81c6cbd7d0bd8c08b/68747470733a2f2f706f7365722e707567782e6f72672f676967677365792f6c6f63616c652f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/giggsey/locale) [![License](https://camo.githubusercontent.com/f161eab1500a6c18b208f60535c03d458b8d9a06b4a453b8d14dd73bf5097cc7/68747470733a2f2f706f7365722e707567782e6f72672f676967677365792f6c6f63616c652f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/giggsey/locale)

A library providing up to date [CLDR](http://cldr.unicode.org/). Primarily as a requirement of [libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php).

Reasoning
---------

[](#reasoning)

This was created because [libphonenumber-for-php](https://github.com/giggsey/libphonenumber-for-php) required the [intl](http://php.net/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](http://cldr.unicode.org) data provided by the Operating System, which is quite often out of date.

Generating data
---------------

[](#generating-data)

Data is compiled from the latest [CLDR Data](http://cldr.unicode.org/) as specified in [CLDR-VERSION.txt](CLDR-VERSION.txt). The [JSON](https://github.com/unicode-org/cldr-json) data is built 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, run the composer script 'build':

```
composer run build
```

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity73

Solid adoption and visibility

Community28

Small or concentrated contributor base

Maturity82

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 95.2% 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.

###  Release Activity

Cadence

Every ~158 days

Recently: every ~169 days

Total

23

Last Release

83d ago

Major Versions

1.9 → 2.02021-08-23

2.8.0 → 8.5.x-dev2025-11-07

PHP version history (4 changes)1.1PHP &gt;=5.3.2

2.0PHP &gt;=7.2

2.7.0PHP ^7.4|^8.0

2.8.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ecb77e06c21edac6b84d9428a23c632eb08a96f897de0bde76dd467846ded35a?d=identicon)[giggsey](/maintainers/giggsey)

---

Top Contributors

[![giggsey](https://avatars.githubusercontent.com/u/305730?v=4)](https://github.com/giggsey "giggsey (119 commits)")[![smartynovych](https://avatars.githubusercontent.com/u/790859?v=4)](https://github.com/smartynovych "smartynovych (2 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (1 commits)")[![peter279k](https://avatars.githubusercontent.com/u/9021747?v=4)](https://github.com/peter279k "peter279k (1 commits)")[![simonschaufi](https://avatars.githubusercontent.com/u/941794?v=4)](https://github.com/simonschaufi "simonschaufi (1 commits)")[![villfa](https://avatars.githubusercontent.com/u/2891564?v=4)](https://github.com/villfa "villfa (1 commits)")

---

Tags

hacktoberfestphp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/giggsey-locale/health.svg)

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

###  Alternatives

[steadfast-courier/steadfast-courier-laravel-package

A complate Laravel package for SteadFast Courier Limited

162.5k](/packages/steadfast-courier-steadfast-courier-laravel-package)[ammardaana/laravel-domain-driven-design

Generate laravel Domain driven design (monolith) structure

111.2k](/packages/ammardaana-laravel-domain-driven-design)

PHPackages © 2026

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