PHPackages                             veton-muhaxhiri/laravel-command-to-find-missing-translations - 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. veton-muhaxhiri/laravel-command-to-find-missing-translations

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

veton-muhaxhiri/laravel-command-to-find-missing-translations
============================================================

Response control for Laravel/Lumen 5 and up.

225.0k—0%[1 issues](https://github.com/VetonMuhaxhiri/Laravel-find-missing-translations/issues)PHP

Since Jan 3Pushed 4y ago1 watchersCompare

[ Source](https://github.com/VetonMuhaxhiri/Laravel-find-missing-translations)[ Packagist](https://packagist.org/packages/veton-muhaxhiri/laravel-command-to-find-missing-translations)[ RSS](/packages/veton-muhaxhiri-laravel-command-to-find-missing-translations/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

One command to find missing translations in Laravel application
===============================================================

[](#one-command-to-find-missing-translations-in-laravel-application)

Laravel artisan command to list all your untranslated words.

Prerequisites
-------------

[](#prerequisites)

There is no prerequisites for this command to work, you just need to follow the installing process.

Installing
----------

[](#installing)

Installing this command is easy, you can use composer or do it manually :

### Composer

[](#composer)

```
composer require veton-muhaxhiri/laravel-command-to-find-missing-translations

```

By running composer command you will have everything setup and ready to be used.

### Manually

[](#manually)

1. git clone the repository, or just download it.
2. copy "src/Commands/FindMissingTranslations.php" file to /app/Console/Commands of your laravel project.

By completing this steps the command should work, unless the command is not loaded automaticly. To load the command go to app/Console/Kernel.php and add the class name to the $commands property.

```
protected $commands = [
    Commands\FindMissingTranslations::class
];

```

### Lumen

[](#lumen)

In Laravel Lumen we just need one extra step, go open `bootstrap/app.php` file and register the service provider by adding the line `$app->register(VetonMuhaxhiri\Laravelfindmissingtranslations\Providers\FindMissingTranslationsProvider::class);`

Running the command
-------------------

[](#running-the-command)

The command expects two arguments :

1. **language directory** - Relative path of language directory for ex. /resources/lang is a directory that contains all supported language in your laravel app.
2. **base language** - Base language for ex. "en". All other languages are compared to this language.

Inside of **language directory**
[![Language directory](https://camo.githubusercontent.com/cbc2674f82bb9fb51a415220cbba45834a8a41bf16cb04fd3212560dcae82fe8/68747470733a2f2f692e696d6775722e636f6d2f6558476c5549382e706e67)](https://camo.githubusercontent.com/cbc2674f82bb9fb51a415220cbba45834a8a41bf16cb04fd3212560dcae82fe8/68747470733a2f2f692e696d6775722e636f6d2f6558476c5549382e706e67)

While **base language** should be one of the language listed in the picture.

### Example

[](#example)

```
$ php artisan translations:missing /resources/lang en

```

[![Proof of concept](https://camo.githubusercontent.com/e958f722dbfeb4fd03f8b0028ffdbd834a958021b88e109ffa5b4e12d27df030/68747470733a2f2f696d6775722e636f6d2f504e78763832442e706e67)](https://camo.githubusercontent.com/e958f722dbfeb4fd03f8b0028ffdbd834a958021b88e109ffa5b4e12d27df030/68747470733a2f2f696d6775722e636f6d2f504e78763832442e706e67)

Features
--------

[](#features)

#### Recursive

[](#recursive)

Detects missing words in multilevel array for ex.
[![Multilevel array](https://camo.githubusercontent.com/77c6a2e7c5c65e70690deba197a0ec9475c14617974d13027f6300a5c0724411/68747470733a2f2f696d6775722e636f6d2f486e34595142372e706e67)](https://camo.githubusercontent.com/77c6a2e7c5c65e70690deba197a0ec9475c14617974d13027f6300a5c0724411/68747470733a2f2f696d6775722e636f6d2f486e34595142372e706e67)

#### Missing files

[](#missing-files)

Detects missing files, for ex. if file with translation named "posts.php" exists in english but not in deutsch.

Authors
-------

[](#authors)

- **Veton Muhaxhiri** - [LinkedIn](https://www.linkedin.com/in/veton-muhaxhiri-815113196)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 89.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/71dce4b5add8be903d958ceb39554c961b22ced8807c81b96114de48547ad9ff?d=identicon)[vetonmuhaxhiri](/maintainers/vetonmuhaxhiri)

---

Top Contributors

[![VetonMuhaxhiri](https://avatars.githubusercontent.com/u/43616098?v=4)](https://github.com/VetonMuhaxhiri "VetonMuhaxhiri (17 commits)")[![gentritabazi](https://avatars.githubusercontent.com/u/35135482?v=4)](https://github.com/gentritabazi "gentritabazi (2 commits)")

---

Tags

artisan-commandlanguagelaravelphptranslation

### Embed Badge

![Health badge](/badges/veton-muhaxhiri-laravel-command-to-find-missing-translations/health.svg)

```
[![Health](https://phpackages.com/badges/veton-muhaxhiri-laravel-command-to-find-missing-translations/health.svg)](https://phpackages.com/packages/veton-muhaxhiri-laravel-command-to-find-missing-translations)
```

###  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)
