2017 © Pedro Peláez
 

library php-xml-schema

image

cmaymard/php-xml-schema

  • Sunday, February 25, 2018
  • by SGTCharlie
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PhpXmlSchema

Latest Release PHP Version PHP Extensions License, (*1)

Provides support to parse and create an in-memory representation of a XML Schema document., (*2)

Installation

composer require cmaymard/php-xml-schema

Usage

Parse a XML Schema 1.0 document

<?php

use PhpXmlSchema\Dom\Parser;

$src = \file_get_contents('schema.xsd');

$parser = new Parser();

// $schema is an instance of PhpXmlSchema\Dom\SchemaElement.
$schema = $parser->parse($src);

See the documentation., (*3)

The Versions

25/02 2018

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Christophe Maymard

schema php xml