PHPackages                             defji/piglatin - 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. defji/piglatin

ActivePackage

defji/piglatin
==============

Translate words to pig/latin

010PHP

Since Apr 24Pushed 8y ago1 watchersCompare

[ Source](https://github.com/defji/PigLatin)[ Packagist](https://packagist.org/packages/defji/piglatin)[ RSS](/packages/defji-piglatin/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PigLatin
========

[](#piglatin)

Composer package to translate english text to PigLatin.

Install
-------

[](#install)

```
composer require defji/piglatin
```

Usage
-----

[](#usage)

```
 use defji\PigLatin\Translator;

 $useDash = TRUE; // use "-" separator in translated text
 $t = new Translator($useDash);

 echo $t->translate("All their equipment and instruments are alive.");
 // prints: All-way eir-thay equipment-way and-way instruments-way are-way alive-way.

 // translate single word
 echo $t->translateWord("question");
 // prints uestion-qay
```

Testing
-------

[](#testing)

```
vendor/bin/phpunit
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity41

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

---

Top Contributors

[![defji](https://avatars.githubusercontent.com/u/2026606?v=4)](https://github.com/defji "defji (15 commits)")

### Embed Badge

![Health badge](/badges/defji-piglatin/health.svg)

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

PHPackages © 2026

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