PHPackages                             chaibi/gtranslator - 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. chaibi/gtranslator

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

chaibi/gtranslator
==================

Google Translation for Laravel

1.1.2(8y ago)88101[1 PRs](https://github.com/chaibialaa/gTranslator/pulls)PHPPHP &gt;=5.5.9

Since Sep 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/chaibialaa/gTranslator)[ Packagist](https://packagist.org/packages/chaibi/gtranslator)[ RSS](/packages/chaibi-gtranslator/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (2)Versions (10)Used By (0)

\#gTranslator

\##Installation

Run the command below to install via Composer

```
composer require chaibi/gtranslator
```

Then add this line to your providers in config/app.php :

```
Chaibi\gTranslator\ServiceProvider::class,
```

And finally :

```
php artisan translate
```

You will be prompted to choose the source language (Default: app.locale config value) then you will be prompted again to enter the destination language (Default: app.fallback\_locale config value), and that's it !

gTranslator will create a new folder with the destination language, and copy the source files to be translated there but with new translated values.

gTranslator detects :params and don't translate them. For example : "Welcome to :site !" with :site = home will give you in french "Bienvenue à home".

If you have extra directories where you have translations, different than resources/lang folder, please run

```
php artisan vendor:publish
```

and add your directories paths in the gTranslator newly created config file.

Please feel free to share with me your thoughts and suggestions.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Unknown

Total

1

Last Release

3152d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4012477326f442dfa71843eefb39dd3da645689b1fb53bc80c20cfe082491eec?d=identicon)[BluePen Labs](/maintainers/BluePen%20Labs)

---

Top Contributors

[![chaibialaa](https://avatars.githubusercontent.com/u/15131728?v=4)](https://github.com/chaibialaa "chaibialaa (23 commits)")

### Embed Badge

![Health badge](/badges/chaibi-gtranslator/health.svg)

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

###  Alternatives

[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[nikaia/translation-sheet

Laravel Translation via Google Spreadsheet

294606.4k1](/packages/nikaia-translation-sheet)[kerigard/laravel-lang-ru

Ru lang for Laravel

2116.8k](/packages/kerigard-laravel-lang-ru)[highsolutions/laravel-translation-manager

Manage Laravel Translations

1518.8k](/packages/highsolutions-laravel-translation-manager)[amendozaaguiar/laravel-lat-es

Archivos de traducción al español latinoamericano para Laravel (auth, pagination, passwords, validation).

198.5k](/packages/amendozaaguiar-laravel-lat-es)[amendozaaguiar/laraveles-spanish-for-jetstream

Archivos de traducción al español latinoamericano para Laravel con Jetstream (auth, pagination, passwords, validation + todas las cadenas de Jetstream).

1412.1k](/packages/amendozaaguiar-laraveles-spanish-for-jetstream)

PHPackages © 2026

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