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

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

gloudemans/gettext
==================

Integrate the PHP Gettext library into Laravel 4

31741PHP

Since Dec 10Pushed 12y ago1 watchersCompare

[ Source](https://github.com/Crinsane/LaravelGettext)[ Packagist](https://packagist.org/packages/gloudemans/gettext)[ RSS](/packages/gloudemans-gettext/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

### Work in Progress - Use at your own risk

[](#work-in-progress---use-at-your-own-risk)

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

[](#installation)

Install the package through [Composer](http://getcomposer.org/). Edit your project's `composer.json` file by adding:

```
"require": {
	"laravel/framework": "4.0.*",
	"gloudemans/gettext": "dev-master"
}
```

Next, run the Composer update command from the Terminal:

```
composer update

```

Now all you have to do is add the service provider of the package. To do this open your `app/config/app.php` file.

Add a new line to the `service providers` array:

```
'Gloudemans\Gettext\GettextServiceProvider'

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity43

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://www.gravatar.com/avatar/8f64450ce9237ee1d14d63ba276d0a60e1fd1f3031f39f865bd6f5a0d141b48c?d=identicon)[Crinsane](/maintainers/Crinsane)

---

Top Contributors

[![Crinsane](https://avatars.githubusercontent.com/u/1297781?v=4)](https://github.com/Crinsane "Crinsane (10 commits)")

### Embed Badge

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

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

###  Alternatives

[php-translation/translator

Translator services

25224.8k5](/packages/php-translation-translator)[smmoosavi/php-gettext

Wrapper for php-gettext by danilo segan. This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.

1926.6k1](/packages/smmoosavi-php-gettext)[laradevs/spanish

labels translated to spanish

166.7k](/packages/laradevs-spanish)

PHPackages © 2026

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