PHPackages                             gummibeer/laravel-translation - 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. gummibeer/laravel-translation

Abandoned → [astrotomic/laravel-translation](/?search=astrotomic%2Flaravel-translation)ArchivedLibrary[Localization &amp; i18n](/categories/localization)

gummibeer/laravel-translation
=============================

A Laravel 5 package that implements the Symfony Po-Translation lib.

v0.1-alpha(9y ago)661MITPHPPHP &gt;=5.5.0

Since Sep 29Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Gummibeer/laravel-translation)[ Packagist](https://packagist.org/packages/gummibeer/laravel-translation)[ RSS](/packages/gummibeer-laravel-translation/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Laravel Translation
===================

[](#laravel-translation)

[![GitHub Author](https://camo.githubusercontent.com/bae83cc9cc7c6ce7654140ba96f3ae74d1b2b6c04a0b3089b16e46acc59332ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d40617374726f746f6d69632d6f72616e67652e7376673f7374796c653d666c61742d737175617265)](https://github.com/Astrotomic)[![GitHub release](https://camo.githubusercontent.com/1f05882609c8ef4862fef11c87c63010a19fa9f4953cf712fc15b64f540cf48d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f617374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Astrotomic/laravel-translation/releases)[![GitHub license](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](https://raw.githubusercontent.com/Astrotomic/laravel-translation/master/LICENSE)[![GitHub issues](https://camo.githubusercontent.com/321ea9fd7129e349ef8ae83b0f97d46544c67348fd84c576b0879c87ff29c636/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f417374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/Astrotomic/laravel-translation/issues)

[![Travis branch](https://camo.githubusercontent.com/bd072fc847747483e3cda3ff55b9f714d6ae5e04bccd2a3c0a72c186443cb8e3/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f417374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Astrotomic/laravel-translation/branches)[![StyleCI](https://camo.githubusercontent.com/0aa39d98a9aa6f156d08801587bf239e75578eae16665edb69cc3385db0a54c4/68747470733a2f2f7374796c6563692e696f2f7265706f732f34363937333438342f736869656c64)](https://styleci.io/repos/46973484)[![Code Climate](https://camo.githubusercontent.com/9d6cdd285679d01618c400299df9501731f398d90041ce875b4d817b150af718/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f417374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Astrotomic/laravel-translation)[![Code Climate](https://camo.githubusercontent.com/1fe867e22e215fa0bd5ddb2ead1fdcb09b4399088efb00913778f4500c2d601b/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f636f7665726167652f6769746875622f417374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Astrotomic/laravel-translation/coverage)[![Code Climate](https://camo.githubusercontent.com/e5097a5ca0fc10c6ca095efd6274ba9e126bcbee33f880997a6289fb1f58f5f2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6973737565732f6769746875622f417374726f746f6d69632f6c61726176656c2d7472616e736c6174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://codeclimate.com/github/Astrotomic/laravel-translation/issues)

This is a laravel wrapper for the Symfony PoTranslator. It comes with two global helper functions `__()` and `_n()`.

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

[](#installation)

**composer.json** `"astrotomic/laravel-translation": "dev-master"`

**config/app.php**

```
return [
    ...
    'providers' => [
        Astrotomic\Laravel\Translation\TranslatorServiceProvider::class,
    ],
    ...
    'aliases' => [
        'Trans' => Astrotomic\Laravel\Translation\Facades\TranslatorFacade::class,
    ],
    ...
];

```

**console**

```
composer update
artisan vendor:publish

```

Usage
-----

[](#usage)

To generate the po files you first have to compile all your views, PoEdit can't handle blade, to do this use the artisan command `artisan view:compile`. After this you can generate the po files and the proper header with `artisan trans:po`. To collect and translate all the strings use PoEdit.

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3557d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/6187884?v=4)[Tom Herrmann](/maintainers/Gummibeer)[@Gummibeer](https://github.com/Gummibeer)

---

Top Contributors

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

---

Tags

laravellaravel-translatorpackagephppo-filespoedittranslation

### Embed Badge

![Health badge](/badges/gummibeer-laravel-translation/health.svg)

```
[![Health](https://phpackages.com/badges/gummibeer-laravel-translation/health.svg)](https://phpackages.com/packages/gummibeer-laravel-translation)
```

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

9782.1M162](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[tallstackui/tallstackui

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

721160.4k12](/packages/tallstackui-tallstackui)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)

PHPackages © 2026

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