webduonederland/laravel-missing-translations

Laravel package to detect and store missing translations in a database table

1.0.0 2025-09-20 09:45 UTC

This package is auto-updated.

Last update: 2025-09-20 09:49:11 UTC


README

This package detects missing Laravel translations and stores them in a database table. This makes it easy to track and add missing entries to your translation files.

Requirements

  • Laravel 12 or higher
  • PHP 8.3 or higher

Installation

You can install the package via composer:

composer require webduonederland/laravel-missing-translations

Run the migrations with:

php artisan migrate

Usage

The package monitors for missing translations whenever a Laravel translation function, such as:

__('Hello world')

or

@lang('Hello world!')

doesn’t find a matching entry. When this happens, the package saves the string in the missing_translations database table.

License

The MIT License (MIT). Please see License File for more information.