PHPackages                             it-bens/simple-words-translator - 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. it-bens/simple-words-translator

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

it-bens/simple-words-translator
===============================

Translator for simple and widely used words in different languages

v0.2.1(2y ago)01.3k1MITPHPPHP ^8.1

Since Feb 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/it-bens/simple-words-translator)[ Packagist](https://packagist.org/packages/it-bens/simple-words-translator)[ RSS](/packages/it-bens-simple-words-translator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (8)Versions (4)Used By (1)

Simple Words Translator
=======================

[](#simple-words-translator)

[![Tests](https://github.com/it-bens/simple-words-translator/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/it-bens/simple-words-translator/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/bb31e9f045d2dea79ce1d7a69b39a100f285852d1524a7e2be96e8178b82a31e/68747470733a2f2f636f6465636f762e696f2f67682f69742d62656e732f73696d706c652d776f7264732d7472616e736c61746f722f67726170682f62616467652e7376673f746f6b656e3d35474159373948493555)](https://codecov.io/gh/it-bens/simple-words-translator)

A simple problem with a simple solution.

This is a simple package that provides translations for defined words like "yes" and "no" (in english). The desired language can be passed by name or or ISO code (2 letter).

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

[](#installation)

```
composer require it-bens/simple-words-translator
```

Usage
-----

[](#usage)

```
use ITB\SimpleWordsTranslator\TranslatorByName;

$translator = new TranslatorByName();
$translation = $translator->yes('Deutsch'); // 'Ja'
$translation = $translator->no('deutsch'); // 'Nein'
```

```
use ITB\SimpleWordsTranslator\TranslatorByIsoCode;

$translator = new TranslatorByIsoCode();
$translation = $translator->yes('de'); // 'Ja'
$translation = $translator->no('de'); // 'Nein'
```

The package provides interfaces for the two translators. All translations implement the `ITB\SimpleWordsTranslator\Translation` interface.

Supported Languages
-------------------

[](#supported-languages)

- German
- English
- Spanish
- French
- Italian
- Dutch

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity42

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

Total

3

Last Release

786d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/94aa1cc7aa38ca9d3f6bb96541ff813027df1f0cf478b3c53c41385876503b2c?d=identicon)[SpiGAndromeda](/maintainers/SpiGAndromeda)

---

Top Contributors

[![SpiGAndromeda](https://avatars.githubusercontent.com/u/15141351?v=4)](https://github.com/SpiGAndromeda "SpiGAndromeda (9 commits)")

---

Tags

translation

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleECS

Type Coverage Yes

### Embed Badge

![Health badge](/badges/it-bens-simple-words-translator/health.svg)

```
[![Health](https://phpackages.com/badges/it-bens-simple-words-translator/health.svg)](https://phpackages.com/packages/it-bens-simple-words-translator)
```

###  Alternatives

[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)[inpsyde/multilingual-press

Simply THE multisite-based free open source plugin for your multilingual websites.

2414.0k1](/packages/inpsyde-multilingual-press)[statikbe/laravel-chained-translator

The Laravel Chained Translator can combine several translators that can override each others translations.

36149.4k6](/packages/statikbe-laravel-chained-translator)

PHPackages © 2026

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