PHPackages                             hiraeth/twig-i18n - 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. hiraeth/twig-i18n

ActiveOpus-package[Localization &amp; i18n](/categories/localization)

hiraeth/twig-i18n
=================

Twig i18n extension for the Hiraeth Nano Framework

2.0.0(2y ago)08.0k↓64.7%MIT

Since Mar 12Pushed 2y agoCompare

[ Source](https://github.com/hiraeth-php/twig-i18n)[ Packagist](https://packagist.org/packages/hiraeth/twig-i18n)[ RSS](/packages/hiraeth-twig-i18n/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (3)Used By (0)

This package provides i18n/gettext functionality in Twig templates for the Hiraeth Nano Framework.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Total

2

Last Release

843d ago

Major Versions

2.0.0 → 3.0-beta2024-03-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ab2b91daf2aa6e4c7f98f785a3135daa3e9998bd7021d89df05a374e28ecde5?d=identicon)[mattsah](/maintainers/mattsah)

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hiraeth-twig-i18n/health.svg)

```
[![Health](https://phpackages.com/badges/hiraeth-twig-i18n/health.svg)](https://phpackages.com/packages/hiraeth-twig-i18n)
```

###  Alternatives

[umpirsky/twig-gettext-extractor

The Twig Gettext Extractor is Poedit friendly tool which extracts translations from twig templates.

114381.7k1](/packages/umpirsky-twig-gettext-extractor)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1927.0k1](/packages/smmoosavi-php-gettext)[mdm/translator-checker-bundle

Help you to check all your twig strings was translated - and all your translation keys exists

144.5k](/packages/mdm-translator-checker-bundle)

PHPackages © 2026

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