PHPackages                             sophokles/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. [Localization &amp; i18n](/categories/localization)
4. /
5. sophokles/translation

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

sophokles/translation
=====================

Sophokles Translation

1.0.4(5y ago)018GPL-3.0-or-laterPHPPHP &gt;=7.0, &lt;7.9

Since Jul 22Pushed 5y agoCompare

[ Source](https://github.com/ironAngel2000/sophokles-translation)[ Packagist](https://packagist.org/packages/sophokles/translation)[ RSS](/packages/sophokles-translation/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Sophokles Translation Class
===========================

[](#sophokles-translation-class)

Sophokles Translation Helper

Installation
------------

[](#installation)

1. Include as composer dependency using `composer require sophokles/translation`
2. Run `composer install` to generate the vendor class autoloader
3. The classes from `Sophokles.tranlastion` can now be used in your composer project

Usage Examples
--------------

[](#usage-examples)

Small usage examples have been included in the [examples/](examples/) folder. The examples are PHP scripts which shows how the translation classes work.

> 1. Define the traget language

> 2. Register the JSON-tranlationfile to the tranlation class

> 3. Get the tranlations with the language class (lang)

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity63

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

Total

5

Last Release

1841d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0, &lt;7.4

1.0.4PHP &gt;=7.0, &lt;7.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/b32ccd00c91ca7ef0eba02da9132ed3a1f0a90c2665ff9729ada9d5ef6488cb8?d=identicon)[ironAngel2000](/maintainers/ironAngel2000)

---

Top Contributors

[![KMS-BW](https://avatars.githubusercontent.com/u/39762135?v=4)](https://github.com/KMS-BW "KMS-BW (6 commits)")

### Embed Badge

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

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

###  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)
