2017 © Pedro Peláez
 

library translations-validator

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project

image

upaid/translations-validator

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project

  • Monday, March 5, 2018
  • by uPaid
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1,527 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 71 % Grown

The README.md

YAML translations validator

License: MIT, (*1)

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project., (*2)

Installation

This package can be installed through Composer:, (*3)

composer require upaid/translations-validator

Or by adding the following line to the require section of your Laravel app's composer.json file:, (*4)

    "require": {
        "upaid/translations-validator": "1.*"
    }

Run composer update upaid/translations-validator to install the package., (*5)

Usage

In order to validate your translation files execute the following command:, (*6)

php artisan translations-validator:validate 

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., (*7)

The Versions

05/03 2018

dev-master

9999999-dev https://github.com/uPaid/translations-validator

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project

  Sources   Download

MIT

The Requires

 

The Development Requires

05/03 2018

1.0.0

1.0.0.0 https://github.com/uPaid/translations-validator

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project

  Sources   Download

MIT

The Requires

 

The Development Requires

02/03 2018

0.1

0.1.0.0 https://github.com/uPaid/translations-validator

This package provides an artisan command that validates YAML files placed in resources/lang directory in a Laravel project

  Sources   Download

MIT

The Requires

 

The Development Requires