PHPackages                             tentwofour/intl - 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. tentwofour/intl

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

tentwofour/intl
===============

Provides extra helpers for Symfony's Intl RegionBundle

1.1.0(5y ago)0170MITPHPPHP ^7.0CI failing

Since Sep 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tentwofour/intl)[ Packagist](https://packagist.org/packages/tentwofour/intl)[ Docs](https://github.com/tentwofour/intl)[ RSS](/packages/tentwofour-intl/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Intl Component
==============

[](#intl-component)

Just a few helpers, good for use when dealing with Canadian and USA provinces/states, forms, and persistence.

```
$provinces = CountryHelper::getCanadianProvinces();
```

Returns:

```
[
   'AB' => 'Alberta',
   'BC' => 'British Columbia',
   'MB' => 'Manitoba',
   'NB' => 'New Brunswick',
   'NL' => 'Newfoundland and Labrador',
   'NS' => 'Nova Scotia',
   'NU' => 'Nunavut',
   'NT' => 'Northwest Territories',
   'ON' => 'Ontario',
   'PE' => 'Prince Edward Island',
   'QC' => 'Quebec',
   'SK' => 'Saskatchewan',
   'YT' => 'Yukon'
];
```

```
$provinces = CountryHelper::getCanadianProvinceAbbreviations();
```

Returns:

```
[
    0 => 'AB',
    1 => 'BC',
    2 => 'MB',
    3 => 'NB',
    4 => 'NL',
    5 => 'NS',
    6 => 'NU',
    7 => 'NT',
    8 => 'ON',
    9 => 'PE',
    10 => 'QC',
    11 => 'SK',
    12 => 'YT'
];
```

The USA helper methods behave in the same manner.

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Every ~1975 days

Total

2

Last Release

1955d ago

PHP version history (2 changes)1.0.0PHP &gt;=5.3.3

1.1.0PHP ^7.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4117615?v=4)[Blair D. Patterson](/maintainers/tentwofour)[@tentwofour](https://github.com/tentwofour)

---

Top Contributors

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

---

Tags

intlten24tentwofour

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tentwofour-intl/health.svg)

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

###  Alternatives

[symfony/intl

Provides access to the localization data of the ICU library

2.6k213.6M1.4k](/packages/symfony-intl)[sonata-project/intl-bundle

Symfony SonataIntlBundle

2179.2M50](/packages/sonata-project-intl-bundle)[aplus/language

Aplus Framework Language Library

2391.7M15](/packages/aplus-language)[aura/intl

The Aura Intl package provides internationalization tools, specifically message translation.

938.5M4](/packages/aura-intl)[skillshare/formatphp

Internationalize PHP apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.

8032.4k](/packages/skillshare-formatphp)[delight-im/i18n

Internationalization and localization for PHP

595.4k3](/packages/delight-im-i18n)

PHPackages © 2026

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