PhpQuery

phpQuery is a server-side, chainable, CSS3 selector driven API based on jQuery JavaScript Library.
Library is written in PHP5 and provides additional Command Line Interface (CLI).
Example
<source lang=php>
$doc = phpQuery::newDocument("<ul><li/><li/></ul>");
$doc
->addClass('my-new-class')
->filter(':last')
->addClass('last-li');
</source>
Use cases
* Web Scraping
* Markup conversions
* Virtual WebBrowser
* Web crawlers
* Editing XML files
Library sections
* Basics
* Ported jQuery sections
** Selectors
** Attributes
** Traversing
** Manipulation
** Ajax
** Events
** Utilities
** Plugin ports
* PHP Support
* Command Line Interface
* Multi document support
* Plugins
** WebBrowser
** Scripts
* jQueryServer
 
< Prev   Next >