PHPackages                             move-elevator/composer-translation-validator - 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. move-elevator/composer-translation-validator

ActiveComposer-plugin[Localization &amp; i18n](/categories/localization)

move-elevator/composer-translation-validator
============================================

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

1.4.0(1mo ago)318.4k↑11.7%[3 PRs](https://github.com/move-elevator/composer-translation-validator/pulls)11GPL-3.0-or-laterPHPPHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0CI passing

Since May 28Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/move-elevator/composer-translation-validator)[ Packagist](https://packagist.org/packages/move-elevator/composer-translation-validator)[ RSS](/packages/move-elevator-composer-translation-validator/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (36)Versions (28)Used By (11)

Composer Translation Validator
==============================

[](#composer-translation-validator)

[![Coverage](https://camo.githubusercontent.com/ae63de2517d364a2c49227fec13145dde72b4419ca9879210af418d199887f4b/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c73436f7665726167652f6769746875622f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f723f6c6f676f3d636f766572616c6c73)](https://coveralls.io/github/move-elevator/composer-translation-validator)[![CGL](https://camo.githubusercontent.com/57c6d77052c1d4bf4949af938bee98b8a845e399416738c55086c661d237ebac/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f722f63676c2e796d6c3f6c6162656c3d63676c266c6f676f3d676974687562)](https://github.com/move-elevator/composer-translation-validator/actions/workflows/cgl.yml)[![Tests](https://camo.githubusercontent.com/1ff30cc576c50cf90e8ed555739dc91e937d06ebe8d7e4a338299a45e7c32bee/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f722f74657374732e796d6c3f6c6162656c3d7465737473266c6f676f3d676974687562)](https://github.com/move-elevator/composer-translation-validator/actions/workflows/tests.yml)[![Supported PHP Versions](https://camo.githubusercontent.com/f757f30e7804386aba0d63789ad38cef6d65b90cb046a13c87bf4053ecdf437e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f722f7068703f6c6f676f3d706870)](https://packagist.org/packages/move-elevator/composer-translation-validator)

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](https://move-elevator.github.io/composer-translation-validator/)**

✨ Features
----------

[](#-features)

- Autodetect coherent language files
- Supports various [translation file formats](https://move-elevator.github.io/composer-translation-validator/reference/file-formats)
- Provides multiple [validators](https://move-elevator.github.io/composer-translation-validator/reference/validators)
- Configurable via separate [configuration files](https://move-elevator.github.io/composer-translation-validator/configuration/)

🔥 Installation
--------------

[](#-installation)

[![Packagist](https://camo.githubusercontent.com/6186164c5f0eb9d206686a4a886e7b69ae8d5d374a166a910ebaf239908262b9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f723f6c6162656c3d76657273696f6e266c6f676f3d7061636b6167697374)](https://packagist.org/packages/move-elevator/composer-translation-validator)[![Packagist Downloads](https://camo.githubusercontent.com/b6909feea72b22d00b11da3fbfdc40ad6837f1f7b3e985379613be944d7403bc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f76652d656c657661746f722f636f6d706f7365722d7472616e736c6174696f6e2d76616c696461746f723f636f6c6f723d627269676874677265656e)](https://packagist.org/packages/move-elevator/composer-translation-validator)

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

📊 Usage
-------

[](#-usage)

Validate your translation files by running the command:

```
composer validate-translations ./translations
```

[![console.png](docs/images/console.png)](docs/images/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](https://move-elevator.github.io/composer-translation-validator/reference/file-formats) and run the configured [validators](https://move-elevator.github.io/composer-translation-validator/reference/validators). See the [CLI documentation](https://move-elevator.github.io/composer-translation-validator/reference/cli) for more details.

📝 Documentation
---------------

[](#-documentation)

Full documentation is available at **[move-elevator.github.io/composer-translation-validator](https://move-elevator.github.io/composer-translation-validator/)**.

### Quick Links

[](#quick-links)

- [Getting Started](https://move-elevator.github.io/composer-translation-validator/getting-started/)
- [Configuration](https://move-elevator.github.io/composer-translation-validator/configuration/)
- [CLI Reference](https://move-elevator.github.io/composer-translation-validator/reference/cli)
- [Validators](https://move-elevator.github.io/composer-translation-validator/reference/validators)
- [File Formats](https://move-elevator.github.io/composer-translation-validator/reference/file-formats)
- [File Detection](https://move-elevator.github.io/composer-translation-validator/reference/file-detection)

🧑‍💻 Contributing
----------------

[](#‍-contributing)

Please have a look at [`CONTRIBUTING.md`](CONTRIBUTING.md).

⭐ License
---------

[](#-license)

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

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance89

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~21 days

Recently: every ~59 days

Total

15

Last Release

54d ago

Major Versions

0.5.0 → 1.0.02025-07-15

PHP version history (4 changes)0.1.0PHP &gt;= 8.0

0.3.0PHP ^8.1

1.3.0PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0

1.3.1PHP ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0 || ~8.5.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/f71257bb4db7f3adcabdc7d93e0f84c00aa50689b1411976b57f6a57ed7b6b2e?d=identicon)[move-elevator](/maintainers/move-elevator)

---

Top Contributors

[![konradmichalik](https://avatars.githubusercontent.com/u/4558190?v=4)](https://github.com/konradmichalik "konradmichalik (315 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (115 commits)")

---

Tags

translationtranslation-validationxliff-validationyaml-validator

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/move-elevator-composer-translation-validator/health.svg)

```
[![Health](https://phpackages.com/badges/move-elevator-composer-translation-validator/health.svg)](https://phpackages.com/packages/move-elevator-composer-translation-validator)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M193](/packages/simplesamlphp-simplesamlphp)[silverstripe/framework

The SilverStripe framework

7213.5M2.5k](/packages/silverstripe-framework)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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