Top Level :: XML

Package Information: XML_Serializer

» Summary » License
Swiss-army knife for reading and writing XML files. Creates XML files from data structures and vice versa. BSD License
» Current Release » Bug Summary
0.21.0 (beta) was released on 2016-07-04 by cweiske (Changelog)
Easy Install

Not sure? Get more info.

pear install XML_Serializer

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/XML_Serializer


Development Roadmap
  • Package Maintenance Rank: 140 of 225 packages with open bugs
  • Number of open bugs: 10 (61 total bugs)
  • Average age of open bugs: 5141 days
  • Oldest open bug: 5685 days
  • Number of open feature requests: 7 (23 total feature requests)

Report a new bug to XML_Serializer
» Description
XML_Serializer serializes complex data structures like arrays or object as XML documents.
This class helps you generating any XML document you require without the need for DOM.
Furthermore this package can be used as a replacement to serialize() and unserialize() as it comes with a matching XML_Unserializer that is able to create PHP data structures (like arrays and objects) from XML documents, if type hints are available.
If you use the XML_Unserializer on standard XML files, it will try to guess how it has to be unserialized. In most cases it does exactly what you expect it to do.
Try reading a RSS file with XML_Unserializer and you have the whole RSS file in a structured array or even a collection of objects, similar to XML_RSS.

Since version 0.8.0 the package is able to treat XML documents similar to the simplexml extension of PHP 5.
» Maintainers » More Information

Packages that depend on XML_Serializer

Dependencies for XML_Serializer