定制 satooon/json-schema-gen 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

satooon/json-schema-gen

最新稳定版本:0.0.1

Composer 安装命令:

composer require satooon/json-schema-gen

包简介

JSON Schema generator

README 文档

README

satooon/json-schema-gen - Response data convert to JSON Schema

Install

Install Composer

$ 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

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

Configuration

Add to your app/config/app.php the service provider and aliases:

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

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

Usage

GET request

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

POST request and add heade paramater

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

Licence

MIT

统计信息

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-04-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固