Download the PHP package upaid/translations-validator without Composer
On this page you can find all versions of the php package upaid/translations-validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download upaid/translations-validator
More information about upaid/translations-validator
Files in upaid/translations-validator
Package translations-validator
Short Description This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project
License MIT
Homepage https://github.com/uPaid/translations-validator
Informations about the package translations-validator
YAML translations validator
This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project.
Installation
This package can be installed through Composer:
Or by adding the following line to the require
section of your Laravel app's composer.json
file:
Run composer update upaid/translations-validator
to install the package.
Usage
In order to validate your translation files execute the following command:
In case there are any errors a full list is displayed. It's good to add it to pre-commit git hook in order to prevent people from commiting syntactically invalid YAML files.
All versions of translations-validator with dependencies
illuminate/support Version >=5.5.0
illuminate/console Version >=5.5.0
illuminate/filesystem Version >=5.5.0