PHPackages                             hkulekci/translation-component - 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. hkulekci/translation-component

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

hkulekci/translation-component
==============================

Zend Expressive Translation Component - Note : Working with twig only for now

02[1 issues](https://github.com/hkulekci/zend-expressive-translation-component/issues)PHP

Since Dec 6Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hkulekci/zend-expressive-translation-component)[ Packagist](https://packagist.org/packages/hkulekci/translation-component)[ RSS](/packages/hkulekci-translation-component/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Zend Expressive Translation Component
=====================================

[](#zend-expressive-translation-component)

Use composer to install

```
composer require hkulekci/translation-component

```

And put the `\TranslationComponent\ModuleConfig::class` in your `config.php` file.

There is a console interface in this library. You can check the command with `bin/console` command or you can integrate with your console interface. To do that check the `src/config/module.config.php` configuration file.

There is a page handler (`\TranslationComponent\Handler\LocaleChangePageHandler`) to change the language on session. We have already had a route for this. We are using session to handle language in the application. Also, there is a `RequestHeader` handler. In future, we will add some other handler like `path`.

On the other hand, we have some middleware to handle importing translation file to application. Please check the `\TranslationComponent\Middleware\TranslationMiddleware` class for this.

Lastly, for now, we support only for twig. Not other type of renderer for the Zend Expressive.

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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/b6ed736e5ca125af79eb457d08626694b6e83e18e0a7597b4e37b891ad60eb4e?d=identicon)[hkulekci](/maintainers/hkulekci)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/hkulekci-translation-component/health.svg)

```
[![Health](https://phpackages.com/badges/hkulekci-translation-component/health.svg)](https://phpackages.com/packages/hkulekci-translation-component)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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