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)98121[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 1mo 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 66% 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

3199d 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

[laravel/sail

Docker files for running a basic Laravel application.

1.9k205.7M1.3k](/packages/laravel-sail)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M184](/packages/laravel-ai)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77022.3M144](/packages/laravel-mcp)[illuminate/queue

The Illuminate Queue package.

21332.6M1.5k](/packages/illuminate-queue)[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

724160.4k14](/packages/tallstackui-tallstackui)

PHPackages © 2026

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