2017 © Pedro Peláez
 

library validating-xml-encoder

A XML Encoder that validates the result against an XSD.

image

turnerlabs/validating-xml-encoder

A XML Encoder that validates the result against an XSD.

  • Thursday, October 5, 2017
  • by deviantintegral
  • Repository
  • 5 Watchers
  • 2 Stars
  • 6,953 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 7 % Grown

The README.md

CircleCI, (*1)

This is a XML encoder that validates the result against an XSD. Works well with the Symfony Serialization Component and the Drupal Serializer., (*2)

<?php

$encoder = new \TurnerLabs\ValidatingXmlEncoder\Encoder('rootNodeName', $pathToXsd));
// If the encoded result of $data is not valid according to the XSD,
// \TurnerLabs\ValidatingXmlEncoder\Exception\XsdValidationException is thrown.
$xml = $encoder->encode($data);

The Versions

05/10 2017

dev-master

9999999-dev

A XML Encoder that validates the result against an XSD.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

05/10 2017

0.3

0.3.0.0

A XML Encoder that validates the result against an XSD.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

03/08 2017

0.2

0.2.0.0

A XML Encoder that validates the result against an XSD.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

20/07 2017

0.1

0.1.0.0

A XML Encoder that validates the result against an XSD.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires

19/07 2017

dev-xsd-exception-tests

dev-xsd-exception-tests

A XML Encoder that validates the result against an XSD.

  Sources   Download

Apache-2.0

The Requires

 

The Development Requires