Skip to content
JonathanO edited this page Apr 2, 2013 · 12 revisions

Welcome to the php-weasel wiki!

PHP Weasel is currently a pair of object marshalling libraries, one for JSON and one for XML. It also includes a general purpose "annotation" configuration system.

At present it's at a rather early, but usable, stage of development. Expect dramatic architectural changes to still occur, though the API for basic usage is now unlikely to change. The JSON marshaller should be complete. The XML marshaller is not complete, and currently can only unmarshall XML.

  • Annotation : An "annotation" parsing library which reads annotation like syntax out of PHP docblocks. This is likely to be deprecated in favour of Doctrine's Annotations module.
  • JsonMarshaller : Marshaller for PHP objects to/from JSON. Configured using "annotations."
  • XmlMarshaller : Marshaller for PHP objects to/from XML. Configured using "annotations."
Clone this wiki locally