sabre/xml 1.3 released
We just released sabre/xml 1.3. This release is a fairly big update from the 1.2 series. It's 100% backwards compatible, but adds a number of exciting features:
The biggest is support for a new Value Objects feature. This new feature makes it extremely easy to map between Simple PHP classes and XML elements.
In addition to that:
- It's now possible to specify custom serializers for specific PHP classes.
This would allow you to for instance specify how a PHP
DateTimeobject might be serialized, or in general separate your serializers from the classes they are serializing.
- Added new deserializer functions for common XML patterns:
- It's now possible to tell
Sabre\Xml\Service::expecta list of possible expected XML root elements.
- Lots of small bugfixes.
- Major documentation updates.
The full changelog can be found on Github
composer require sabre/xml ^1.3.0