goetas-webservices/xsd-reader 问题修复 & 功能扩展

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

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

goetas-webservices/xsd-reader

最新稳定版本:0.4.11

Composer 安装命令:

composer require goetas-webservices/xsd-reader

包简介

Read any XML Schema (XSD) programmatically with PHP

README 文档

README

Build status Code Coverage Badge

PHP XSD Reader

Read any XML Schema (XSD) programmatically with PHP.

Installation

The recommended way to install the xsd-reader via Composer:

composer require 'goetas-webservices/xsd-reader'

Getting started

use GoetasWebservices\XML\XSDReader\SchemaReader;

$reader = new SchemaReader();
$schema = $reader->readFile("http://www.example.com/example.xsd");

// $schema is instance of GoetasWebservices\XML\XSDReader\Schema\Schema;

// Now you can navigate the entire schema structure

foreach ($schema->getSchemas() as $innerSchema) {

}
foreach ($schema->getTypes() as $type) {

}
foreach ($schema->getElements() as $element) {

}
foreach ($schema->getGroups() as $group) {

}
foreach ($schema->getAttributes() as $attr) {

}
foreach ($schema->getAttributeGroups() as $attrGroup) {

}

Note

The code in this project is provided under the MIT license. For professional support contact goetas@gmail.com or visit https://www.goetas.com

统计信息

  • 总下载量: 4.13M
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 61
  • 点击次数: 3
  • 依赖项目数: 16
  • 推荐数: 0

GitHub 信息

  • Stars: 60
  • Watchers: 4
  • Forks: 43
  • 开发语言: PHP

其他信息

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