FluentDOM provides an easy to use fluent interface for DOMDocument.
The idea was born in a workshop of Tobias Schlitt, about the PHP XML extensions at the IPC Spring , in Berlin. He used this idea to show XPath samples in the session.
Many thanks to the jQuery , people for their work, who did an exceptional job describing their interfaces and providing examples. This saved us a lot of work.
We implemented most of the jQuery methods into FluentDOM, but here are differences. Most important: we use XPath for expressions, not CSS selectors. Since XPath is supported by the ext/xml extension, no extra parsing need to be done. This should be faster processing the selectors and btw it was easier for us to implement. And as a nice topping it supports namespaces, too.