webbj74/jsdl-loader 问题修复 & 功能扩展

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

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

webbj74/jsdl-loader

最新稳定版本:0.1.2

Composer 安装命令:

composer require webbj74/jsdl-loader

包简介

A stand-alone JSON Service Description loader for Guzzle based on the ServiceDescriptionLoader class from Guzzle 3.x

README 文档

README

A stand-alone JSON Service Description loader for Guzzle 5.x based on the ServiceDescriptionLoader class from Guzzle 3.x

Usage

This software is still pre-release.

Add to composer:

$ composer require "webbj74/jsdl-loader:~0.1"

or

$ composer require "webbj74/jsdl-loader:dev-master"

Based on the guzzle/guzzle-services example.

use GuzzleHttp\Client;
use GuzzleHttp\Command\Guzzle\Description;
use GuzzleHttp\Command\Guzzle\GuzzleClient;
use Webbj74\JSDL\Loader\ServiceDescriptionLoader;

$client = new Client();
$jsdlLoader = new ServiceDescriptionLoader();
$description = new Description($jsdlLoader->load($pathToServiceDescription));

// Create a new Guzzle Service Description client
$guzzleClient = new GuzzleClient($client, $description);

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-06-03