2017 © Pedro Peláez
 

library schemer

json-schema.org based validation and formatting

image

emanueleminotto/schemer

json-schema.org based validation and formatting

  • Sunday, September 20, 2015
  • by EmanueleMinotto
  • Repository
  • 1 Watchers
  • 1 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

schemer

Build Status SensioLabs Insight Coverage Status Scrutinizer Code Quality Total Downloads, (*1)

A command line tool that helps you validating and formatting JSON configuration files. File formatting is based on a JSON schema file., (*2)

Supported shortcuts (validation and formatting):, (*3)

Install

Install the schemer CLI tool adding emanueleminotto/schemer to your global composer.json or from CLI:, (*4)

$ composer global require emanueleminotto/schemer

Attention! Remember to add $COMPOSER_HOME/vendor/bin to your $PATH (ref)., (*5)

Usage

``` bash, (*6)

validation ...

$ schemer validate https://raw.githubusercontent.com/composer/composer/master/res/composer-schema.json composer.json, (*7)

... with use shortcuts

$ schemer validate:bower bower.json, (*8)

formatting ...

$ schemer format https://raw.githubusercontent.com/composer/composer/master/res/composer-schema.json composer.json, (*9)

... with use shortcuts

$ schemer format:bower bower.json, (*10)

schemer available commands

$ schemer list, (*11)


## Testing ``` bash $ vendor/bin/phpunit

License

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

The Versions

20/09 2015

dev-master

9999999-dev

json-schema.org based validation and formatting

  Sources   Download

MIT

The Requires

 

The Development Requires

schema json utility