PHPackages                             sdlab/laravel-translation-files-generator - 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. sdlab/laravel-translation-files-generator

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

sdlab/laravel-translation-files-generator
=========================================

Create translation json files containing all project needed translations

1991PHP

Since May 1Pushed 6y ago1 watchersCompare

[ Source](https://github.com/sebastien-derrey/laravel-translation-generator)[ Packagist](https://packagist.org/packages/sdlab/laravel-translation-files-generator)[ RSS](/packages/sdlab-laravel-translation-files-generator/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel translation files generator
===================================

[](#laravel-translation-files-generator)

Very simple command which generate missing keys in translation files. Parse blade, and laravel files. Compatible with laravel 6.x and 7.x.

*Note*: `grep` command must be available. It is used to search translations in files.

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

[](#installation)

```
composer require --dev sdlab/laravel-translation-files-generator

```

Usage
-----

[](#usage)

```
php artisan translation:generate-files --locale=fr --locale=en --origin=fr

```

The command will parse all the translation function calls from blade and php files, and add the missing one in the specified files transations files.

- locale: each locale specified will create associated translation file
- origin: will fill the value also for the specified language. Useful when the expressions used in code are already translated in one language

License
-------

[](#license)

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

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1822392?v=4)[sdlab](/maintainers/sdlab)[@sdlab](https://github.com/sdlab)

### Embed Badge

![Health badge](/badges/sdlab-laravel-translation-files-generator/health.svg)

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

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[lajax/yii2-translate-manager

Translation management extension for Yii 2

227578.8k13](/packages/lajax-yii2-translate-manager)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)

PHPackages © 2026

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