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 4w ago

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

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/586318?v=4)[Haydar KÜLEKCİ](/maintainers/hkulekci)[@hkulekci](https://github.com/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

[smarty-gettext/smarty-gettext

Gettext plugin enabling internationalization in Smarty Package files

752.5M8](/packages/smarty-gettext-smarty-gettext)[renatomarinho/laravel-multi-language

Laravel Multi Language

235.1k](/packages/renatomarinho-laravel-multi-language)

PHPackages © 2026

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