PHPackages                             haitham/country-code-translation - 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. haitham/country-code-translation

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

haitham/country-code-translation
================================

This bundles translate given country codes to names

v1.01(8y ago)014MITPHPPHP &gt;=5.5.9

Since Feb 19Pushed 8y ago1 watchersCompare

[ Source](https://github.com/haithamsboui/country-code-translation-bundle)[ Packagist](https://packagist.org/packages/haitham/country-code-translation)[ RSS](/packages/haitham-country-code-translation/feed)WikiDiscussions bundle Synced yesterday

READMEChangelog (1)Dependencies (9)Versions (4)Used By (0)

Translate Country Codes to names
================================

[](#translate-country-codes-to-names)

This bundles translate given country codes to names

```
{{ "TN" |country }} #default locale

{{ "TN" |country("en") }} #given locale
```

INSTALLATION via Composer
-------------------------

[](#installation-via-composer)

```
composer require haitham/country-code-translation

```

CONFIGURATION
-------------

[](#configuration)

Register the bundle:

```
// app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new haitham\countriesBundle\haithamcountriesBundle(),
    );
    // ...
}
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 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 ~0 days

Total

2

Last Release

3052d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5289663?v=4)[Haitham sboui](/maintainers/haithamsboui)[@haithamsboui](https://github.com/haithamsboui)

---

Top Contributors

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

---

Tags

country-codesintlsymfonysymfony-bundletwig-extension

### Embed Badge

![Health badge](/badges/haitham-country-code-translation/health.svg)

```
[![Health](https://phpackages.com/badges/haitham-country-code-translation/health.svg)](https://phpackages.com/packages/haitham-country-code-translation)
```

###  Alternatives

[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.5M378](/packages/easycorp-easyadmin-bundle)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k620.8k86](/packages/akeneo-pim-community-dev)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9317.2k55](/packages/open-dxp-opendxp)[oro/platform

Business Application Platform (BAP)

642140.7k104](/packages/oro-platform)[forumify/forumify-platform

122.0k12](/packages/forumify-forumify-platform)

PHPackages © 2026

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