2017 © Pedro Peláez
 

library json-schema-gen

JSON Schema generator

image

satooon/json-schema-gen

JSON Schema generator

  • Wednesday, April 1, 2015
  • by sato00
  • Repository
  • 1 Watchers
  • 3 Stars
  • 671 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

json-schema-gen

satooon/json-schema-gen - Response data convert to JSON Schema, (*1)

Install

Install Composer, (*2)

$ curl -sS https://getcomposer.org/installer | php
$ sudo mv composer.phar /usr/local/bin/composer

Add the following to your require block in composer.json config, (*3)

"satooon/json-schema-gen": ">=0.0.1"

Configuration

Add to your app/config/app.php the service provider and aliases:, (*4)

// Provider
'providers' => array(
    'Satooon\JsonSchemaGen\JsonSchemaGenServiceProvider',
)

// Aliases
'aliases' => array(
    'JsonSchemaGen'   => 'Satooon\JsonSchemaGen\Facades\JsonSchemaGen',
)

Usage

GET request, (*5)

php artisan command:JsonSchemaGen https://search.twitter.com/search.json

POST request and add heade paramater, (*6)

php artisan command:JsonSchemaGen https://api.twitter.com/1.1/statuses/update.json -X POST -d '{"status":"text"}' -H "Authorization: OAuth  ...."

Licence

MIT, (*7)

The Versions

01/04 2015

dev-master

9999999-dev https://github.com/satooon/json-schema-gen

JSON Schema generator

  Sources   Download

MIT

The Requires

 

by Yoshiori Sato

laravel php json json schema

01/04 2015

dev-develop

dev-develop https://github.com/satooon/json-schema-gen

JSON Schema generator

  Sources   Download

MIT

The Requires

 

by Yoshiori Sato

laravel php json json schema

01/04 2015

0.0.1

0.0.1.0 https://github.com/satooon/json-schema-gen

JSON Schema generator

  Sources   Download

MIT

The Requires

 

by Yoshiori Sato

laravel php json json schema