PHPackages                             zdearo/laravel-auto-translate - 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. zdearo/laravel-auto-translate

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

zdearo/laravel-auto-translate
=============================

A Laravel package for auto translate strings.

v1.0.1(1y ago)03[4 PRs](https://github.com/zdearo/laravel-auto-translate/pulls)MITPHPPHP ^8.1CI passing

Since Mar 28Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/zdearo/laravel-auto-translate)[ Packagist](https://packagist.org/packages/zdearo/laravel-auto-translate)[ Docs](https://github.com/zdearo/laravel-auto-translate)[ GitHub Sponsors]()[ RSS](/packages/zdearo-laravel-auto-translate/feed)WikiDiscussions main Synced today

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

Laravel Auto Translate
======================

[](#laravel-auto-translate)

A Laravel package for extracting and managing translation strings in your Laravel applications. This package helps you identify untranslated strings in your codebase and manage translations for multiple languages.

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

[](#installation)

You can install the package via composer in your Laravel project:

```
composer require zdearo/laravel-auto-translate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="laravel-auto-translate-config"
```

Usage
-----

[](#usage)

### Extract Translations

[](#extract-translations)

This command scans your Laravel application for translation strings and extracts them to a JSON file:

```
php artisan translations:extract {locale}
```

Replace `{locale}` with your desired language code (e.g., `en`, `pt_BR`, `es_ES`).

The command will:

1. Scan your application for translation strings
2. Create a `new_strings_{locale}.json` file with the found strings
3. Optionally merge the new strings into your existing translation file

### Merge Translations

[](#merge-translations)

This command merges translated strings from `new_strings_{locale}.json` to your main translation file:

```
php artisan translations:merge {locale}
```

The command offers three merge options:

1. Only merge strings that have translations
2. Merge all strings (including empty translations)
3. Interactive mode: review each untranslated string

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

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

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

[](#contributing)

Contributions are welcome! Please feel free to submit a Pull Request.

Credits
-------

[](#credits)

- [Adryel Dearo](https://github.com/zdearo)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance68

Regular maintenance activity

Popularity3

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 68% 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 ~56 days

Total

2

Last Release

405d ago

Major Versions

v0.0.1 → v1.0.12025-05-24

PHP version history (2 changes)v0.0.1PHP ^8.4

v1.0.1PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/110416695?v=4)[Adryel Zanetti Dearo](/maintainers/zdearo)[@zdearo](https://github.com/zdearo)

---

Top Contributors

[![zdearo](https://avatars.githubusercontent.com/u/110416695?v=4)](https://github.com/zdearo "zdearo (17 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (3 commits)")

---

Tags

laravellaravel-auto-translatelaravel-packagetranslatorlaravellaravel-auto-translateAdryel Dearo

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/zdearo-laravel-auto-translate/health.svg)

```
[![Health](https://phpackages.com/badges/zdearo-laravel-auto-translate/health.svg)](https://phpackages.com/packages/zdearo-laravel-auto-translate)
```

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.6k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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