PHPackages                             sharkodlak/gettext - 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. sharkodlak/gettext

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

sharkodlak/gettext
==================

PHP Gettext Library, allow to use translator object with more gettext methods, than in pure PHP.

v1.1.2(10y ago)01.9kMITPHPPHP &gt;=5.4.0

Since Aug 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sharkodlak/php-gettext)[ Packagist](https://packagist.org/packages/sharkodlak/gettext)[ Docs](https://github.com/Sharkodlak/php-gettext)[ RSS](/packages/sharkodlak-gettext/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (5)Used By (0)

php-gettext
===========

[](#php-gettext)

Allow to use more gettext functions in PHP than those few definned in PHP.

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

3722d ago

### Community

Maintainers

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

---

Top Contributors

[![sharkodlak](https://avatars.githubusercontent.com/u/512785?v=4)](https://github.com/sharkodlak "sharkodlak (3 commits)")

---

Tags

localizationi18nl10ntranslatetranslationgettextlocale

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sharkodlak-gettext/health.svg)

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

###  Alternatives

[fisharebest/localization

A lightweight localization database and translation tools, with data from the CLDR, IANA, ISO, etc.

3191.1k2](/packages/fisharebest-localization)[gettext/languages

gettext languages with plural rules

7530.3M10](/packages/gettext-languages)[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[punic/punic

PHP-Unicode CLDR

1542.9M29](/packages/punic-punic)[delight-im/i18n

Internationalization and localization for PHP

625.2k3](/packages/delight-im-i18n)[skillshare/formatphp

Internationalize PHP apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.

8029.6k](/packages/skillshare-formatphp)

PHPackages © 2026

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