move-elevator/composer-translation-validator

A Composer plugin that validates translations files in your project regarding mismatches between language source and target files.

Maintainers

👁 move-elevator

Package info

github.com/move-elevator/composer-translation-validator

Type:composer-plugin

pkg:composer/move-elevator/composer-translation-validator

Statistics

Installs: 28 582

Dependents: 16

Suggesters: 0

Stars: 3

Open Issues: 4

1.4.0 2026-03-26 09:00 UTC

Requires

Suggests

  • ext-intl: Required for validating translations regarding unicode normalization issues.

Provides

None

Conflicts

None

Replaces

None

GPL-3.0-or-later c2854897ff8f0ba330c3811c7042f01888abed4e

  • Konrad Michalik <km.woop@move-elevator.de>

README

Composer Translation Validator

👁 Coverage
👁 CGL
👁 Tests
👁 Supported PHP Versions

A Composer plugin that validates translation files in your project. Provides a command validate-translations to check for translations mismatches, duplicates, schema validation and more. Supports XLIFF, YAML, JSON and PHP translation files.

View Documentation

✨ Features

🔥 Installation

👁 Packagist
👁 Packagist Downloads

composer require --dev move-elevator/composer-translation-validator

📊 Usage

Validate your translation files by running the command:

composer validate-translations ./translations

👁 console.png

The command validate-translations can be used to validate translation files in your project. It will automatically detect the translation files based on the supported formats and run the configured validators. See the CLI documentation for more details.

📝 Documentation

Full documentation is available at move-elevator.github.io/composer-translation-validator.

Quick Links

🧑‍💻 Contributing

Please have a look at CONTRIBUTING.md.

⭐ License

This project is licensed under GNU General Public License 3.0 (or later).