PHPackages                             isaeken/laravel-translator - 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. isaeken/laravel-translator

ActiveLibrary

isaeken/laravel-translator
==========================

Laravel translation helpers

v1.1(4y ago)6102MITPHPPHP ^8.0

Since Sep 27Pushed 4y ago2 watchersCompare

[ Source](https://github.com/isaeken/laravel-translator)[ Packagist](https://packagist.org/packages/isaeken/laravel-translator)[ Docs](https://github.com/isaeken/laravel-translator)[ GitHub Sponsors](https://github.com/isaeken)[ RSS](/packages/isaeken-laravel-translator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (3)Used By (0)

Laravel Translator
==================

[](#laravel-translator)

[![Laravel Translator](https://camo.githubusercontent.com/8010311931002178aa66c409f12309608ef9a7ab74953d1b161d3a31b25db4d4/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305472616e736c61746f722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f73657225323072657175697265267061636b6167654e616d653d697361656b656e2f6c61726176656c2d7472616e736c61746f72267061747465726e3d617263686974656374267374796c653d7374796c655f31266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470733a2f2f6c61726176656c2e636f6d2f696d672f6c6f676f6d61726b2e6d696e2e737667)](https://camo.githubusercontent.com/8010311931002178aa66c409f12309608ef9a7ab74953d1b161d3a31b25db4d4/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f4c61726176656c2532305472616e736c61746f722e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f73657225323072657175697265267061636b6167654e616d653d697361656b656e2f6c61726176656c2d7472616e736c61746f72267061747465726e3d617263686974656374267374796c653d7374796c655f31266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d68747470733a2f2f6c61726176656c2e636f6d2f696d672f6c6f676f6d61726b2e6d696e2e737667)

[![Latest Version](https://camo.githubusercontent.com/3021dd4eb520cf5cb959b83b96349cdc86730ea1ed4aa33df1f650b080f619ec/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f697361656b656e2f6c61726176656c2d7472616e736c61746f723f736f72743d73656d766572266c6162656c3d76657273696f6e)](https://packagist.org/packages/isaeken/laravel-translator)[![CircleCI](https://camo.githubusercontent.com/4ac88092b301a8bb9ec78db81b0b248c7674c3bd11ecc146d22d6a23589897d7/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f6275696c642f6769746875622f697361656b656e2f6c61726176656c2d7472616e736c61746f72)](https://camo.githubusercontent.com/4ac88092b301a8bb9ec78db81b0b248c7674c3bd11ecc146d22d6a23589897d7/68747470733a2f2f696d672e736869656c64732e696f2f636972636c6563692f6275696c642f6769746875622f697361656b656e2f6c61726176656c2d7472616e736c61746f72)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/9e40af3b5de391a41309823b6bddb7122e30d860f07552d2400cc9aa98b51d7b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f697361656b656e2f6c61726176656c2d7472616e736c61746f722f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/isaeken/laravel-translator/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/f44aaf94b0930c99f0fed363876dc57ff3928399fb3e26059de8eb1273a1cd52/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f697361656b656e2f6c61726176656c2d7472616e736c61746f722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/isaeken/laravel-translator)

Installation and setup
----------------------

[](#installation-and-setup)

### Installation

[](#installation)

You can install the package via composer:

```
composer require isaeken/laravel-translator
```

### Setup

[](#setup)

You can publish the config file with:

```
php artisan vendor:publish --provider="IsaEken\LaravelTranslator\LaravelTranslatorServiceProvider" --tag="laravel-translator-config"
```

Usage
-----

[](#usage)

You can activate auto save translation

```
// config/translator.php
'autosave' => true
```

You can use the translation system as in Laravel standards.

```
__('Hello :var', ['var' => 'World']); // save to your fallback file when auto save enabled.
```

You can use the translation system with javascript by adding the "@translator" directive to the head in your design.

```

    @translator

```

```
__('Hello');
__('Hello :var', {'var': 'World'});
```

> Automatic recording or errors will not work in the translations you use on Javascript.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Isa Eken](https://github.com/isaeken)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity56

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

Every ~8 days

Total

2

Last Release

1679d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27427375a2832cfe00cf076041951fd56f9cafa9696e77887bee805101f49bb9?d=identicon)[isaeken](/maintainers/isaeken)

---

Top Contributors

[![isaeken](https://avatars.githubusercontent.com/u/57031552?v=4)](https://github.com/isaeken "isaeken (30 commits)")

---

Tags

laraveltranslationsisaekentranslation helpers

###  Code Quality

TestsPest

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/isaeken-laravel-translator/health.svg)

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

###  Alternatives

[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[spatie/laravel-prometheus

Export Laravel metrics to Prometheus

2651.3M6](/packages/spatie-laravel-prometheus)[scalar/laravel

Render your OpenAPI-based API reference

6183.9k2](/packages/scalar-laravel)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[basillangevin/laravel-data-json-schemas

Transforms Spatie Data objects into JSON Schemas with built-in validation

1312.2k1](/packages/basillangevin-laravel-data-json-schemas)

PHPackages © 2026

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