承接 goetas-webservices/wsdl-reader 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

goetas-webservices/wsdl-reader

最新稳定版本:v0.3.7

Composer 安装命令:

composer require goetas-webservices/wsdl-reader

包简介

Pure PHP WSDL parser

README 文档

README

Build Status Code Coverage Scrutinizer Code Quality

PHP XSD Reader

Read any WSDL 1.1 (XSD) programatically with PHP.

Installation

There are two recommended ways to install the wsdl-reader via Composer:

  • using the composer require command:
composer require 'goetas-webservices/wsdl-reader'
  • adding the dependency to your composer.json file:
"require": {
    ..
    "goetas-webservices/wsdl-reader" : "~0.1",
    ..
}

Getting started

use GoetasWebservices\XML\WSDLReader\DefinitionsReader;

$reader = new DefinitionsReader();
$definitions = $reader->readFile("http://www.example.com/exaple.wsdl");

// $definitions is instance of GoetasWebservices\XML\WSDLReader\Wsdl\Definitions;
// Now you can navigate the entire WSDL structure

foreach ($definitions->getServices() as $service){

}
foreach ($definitions->getProtTypes() as $portType){

}
foreach ($definitions->getBindings() as $binding){

}
foreach ($definitions->getMessages() as $message){

}

Note

I'm sorry for the terrible english fluency used inside the documentation, I'm trying to improve it. Pull Requests are welcome.

统计信息

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

GitHub 信息

  • Stars: 10
  • Watchers: 4
  • Forks: 19
  • 开发语言: PHP

其他信息

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