PHPackages                             sertxudeveloper/laravel-translations-checker - 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. sertxudeveloper/laravel-translations-checker

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

sertxudeveloper/laravel-translations-checker
============================================

Check Laravel translation files for missing keys, files, and empty values. Integrates with CI/CD pipelines.

v1.0.1(2mo ago)18MITPHP ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Apr 27Compare

[ Source](https://github.com/sertxudeveloper/laravel-translations-checker)[ Packagist](https://packagist.org/packages/sertxudeveloper/laravel-translations-checker)[ Docs](https://github.com/sertxudeveloper/laravel-translations-checker)[ Fund](https://buymeacoffee.com/sertxudeveloper)[ GitHub Sponsors](https://github.com/sertxudev)[ RSS](/packages/sertxudeveloper-laravel-translations-checker/feed)WikiDiscussions Synced 3w ago

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

[![Translations Checker](/art/socialcard.png)](/art/socialcard.png)

Laravel Translations Checker
============================

[](#laravel-translations-checker)

[![](https://camo.githubusercontent.com/be0a5c49f7ca39ef4f31008ba33c757f389531432306630ce58fb83041c774d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/be0a5c49f7ca39ef4f31008ba33c757f389531432306630ce58fb83041c774d2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![](https://github.com/sertxudeveloper/laravel-translations-checker/actions/workflows/tests.yml/badge.svg)](https://github.com/sertxudeveloper/laravel-translations-checker/actions/workflows/tests.yml/badge.svg) [![](https://camo.githubusercontent.com/ce6b3e8f9fefc4474f46754baa03f8e4e71f24a67f07b9b5c8385b6c219c5eb4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/ce6b3e8f9fefc4474f46754baa03f8e4e71f24a67f07b9b5c8385b6c219c5eb4/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![](https://camo.githubusercontent.com/30d1d0fdce94411f353770fe4e2d50455b0f422defdf75665c17bdf622108a91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/30d1d0fdce94411f353770fe4e2d50455b0f422defdf75665c17bdf622108a91/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![](https://camo.githubusercontent.com/5b15eac2bbf1bcfa985b997fb43662ae9457bd1e0bc18d6b146b84e0cb6ada3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/5b15eac2bbf1bcfa985b997fb43662ae9457bd1e0bc18d6b146b84e0cb6ada3f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![](https://camo.githubusercontent.com/6fe901d8c2cdeade4f9f4b09cec6e901cfd718fc23e22192e66f4b58425ec90e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/6fe901d8c2cdeade4f9f4b09cec6e901cfd718fc23e22192e66f4b58425ec90e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![](https://camo.githubusercontent.com/56d15966298c0e7fe1ef3708fb7098684628d65cf08df255469e6be1f4f94241/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://camo.githubusercontent.com/56d15966298c0e7fe1ef3708fb7098684628d65cf08df255469e6be1f4f94241/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572) [![Codecov Test coverage](https://camo.githubusercontent.com/ecba95fc4a5b3ab98809af8034576cf47128d910d095cd83d532c05719a3a8c2/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f736572747875646576656c6f7065722f6c61726176656c2d7472616e736c6174696f6e732d636865636b6572)](https://app.codecov.io/gh/sertxudeveloper/laravel-translations-checker)

Check Laravel translation files for missing translations. Based on the package [LarsWiegers/laravel-translations-checker](https://github.com/LarsWiegers/laravel-translations-checker).

This package scans your Laravel translation files and reports:

- Missing translation files across languages
- Translation keys that exist in one language but not others
- Empty or blank translation values

Requirements
------------

[](#requirements)

This package requires PHP 8.2+ and Laravel 11.0+.

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

[](#installation)

You can install the package via composer:

```
composer require sertxudeveloper/laravel-translations-checker
```

Usage
-----

[](#usage)

Run the check command to scan your translation files:

```
php artisan translations:check
```

By default, it checks the `lang` directory in your application. You can specify a different directory:

```
php artisan translations:check --directory=resources/lang
```

The command returns exit code 1 if any issues are found, making it suitable for CI/CD pipelines.

### Example output

[](#example-output)

```
Missing translations:
- The language es (resources/lang/es) is missing the file (auth.php)
- es.validation.required

Empty translations:
- en.messages.welcome (empty value)

```

Using the Service
-----------------

[](#using-the-service)

You can also use the underlying service in your own code:

```
use SertxuDeveloper\TranslationsChecker\Services\TranslationCheckerService;

$checker = app(TranslationCheckerService::class);
$result = $checker->check(resource_path('lang'));

$result['missingFiles'];        // Files missing in some languages
$result['missingTranslations']; // Keys missing in some languages
$result['emptyTranslations'];   // Keys with empty values
```

Testing
-------

[](#testing)

This package contains tests. Run them using:

```
composer test
```

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

[](#contributing)

Please see [CONTRIBUTING](https://github.com/sertxudeveloper/.github/blob/main/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

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

Credits
-------

[](#credits)

- [Sergio Peris](https://github.com/sertxudev)
- Special mention to [LarsWiegers](https://github.com/LarsWiegers)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

Copyright © 2026 Sertxu Developer

###  Health Score

39

—

LowBetter than 84% of packages

Maintenance83

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

88d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22801379?v=4)[Sergio Peris](/maintainers/sertxudev)[@sertxudev](https://github.com/sertxudev)

---

Tags

laraveli18ntranslationschecker

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sertxudeveloper-laravel-translations-checker/health.svg)

```
[![Health](https://phpackages.com/badges/sertxudeveloper-laravel-translations-checker/health.svg)](https://phpackages.com/packages/sertxudeveloper-laravel-translations-checker)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[illuminate/database

The Illuminate Database package.

2.8k54.9M12.2k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k253.1k86](/packages/moonshine-moonshine)[illuminate/translation

The Illuminate Translation package.

6938.0M581](/packages/illuminate-translation)[outhebox/laravel-translations

Manage your Laravel translations with a beautiful UI. Add, edit, delete, import, and export translations with ease.

813100.4k](/packages/outhebox-laravel-translations)

PHPackages © 2026

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