Skip to content
/ php-xml Public

PHP 8 Annotations based XML (de)serializer working on top of sabre/xml.

License

Notifications You must be signed in to change notification settings

Zekfad/php-xml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zekfad/xml

PHP 8 Annotations based XML (de)serializer working on top of sabre\xml.

Features

  • Parse attributes (float, int, bool, string).
  • Parse child nodes.
    • Support for optional elements.
    • Support for repeating elements (with optional min and max count check).
  • Parse text content.
  • Parse union types (via XmlPeparsePoint).
  • Specify default value (where PHP's not available), you can mix optional and required parameters.
  • Automatically implement Sabre\Xml\XmlSerializable and Sabre\Xml\XmlDeserializable with XmlElementTrait trait or extend XmlElement.

About

PHP 8 Annotations based XML (de)serializer working on top of sabre/xml.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages