emanueleminotto/schemer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

emanueleminotto/schemer

Composer 安装命令:

composer require emanueleminotto/schemer

包简介

json-schema.org based validation and formatting

README 文档

README

Build Status SensioLabs Insight Coverage Status Scrutinizer Code Quality Total Downloads

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

Supported shortcuts (validation and formatting):

Install

Install the schemer CLI tool adding emanueleminotto/schemer to your global composer.json or from CLI:

$ composer global require emanueleminotto/schemer

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

Usage

# validation ...
$ schemer validate https://raw.githubusercontent.com/composer/composer/master/res/composer-schema.json composer.json
# ... with use shortcuts
$ schemer validate:bower bower.json

# formatting ...
$ schemer format https://raw.githubusercontent.com/composer/composer/master/res/composer-schema.json composer.json
# ... with use shortcuts
$ schemer format:bower bower.json

# schemer available commands
$ schemer list

Testing

$ vendor/bin/phpunit

License

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

统计信息

  • 总下载量: 6
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-28