phpQuery, one more fork!
My intent is to have it easily integrated in differents projects, so available on packagist.
I've gathered some fix and new features here and there, as will keep looking for new stuff on github about phpQuery, (*1)
github repos i've integrated:
- https://github.com/ralph-tice/phpquery (one commit: added WebBrowser->browserDownload)
- https://github.com/aptivate/phpquery (three commits)
- https://github.com/panrafal/phpquery (remove zend)
github repos i've looked at:
- https://github.com/denis-isaev/phpquery
- https://github.com/fmorrow/pQuery--PHPQuery- (big project so far)
- https://github.com/r-sal/phpquery
- https://github.com/damien-list/phpquery-1
- https://github.com/nev3rm0re/phpquery
- https://github.com/Aurielle/phpquery
- https://github.com/kevee/phpquery (include php-css-parser)
- https://github.com/lucassouza1/phpquery
Whats phpQuery?
To quote the phpQuery (orignally concieved and developed by Tobiasz Cudnik, available on Google Code and Github) project documentation:, (*2)
phpQuery is a server-side, chainable, CSS3 selector driven Document Object Model (DOM) API based on jQuery JavaScript Library., (*3)
Library is written in PHP5 and provides additional Command Line Interface (CLI)., (*4)
Example usage
(copied from http://code.google.com/p/phpquery/wiki/Basics), (*5)
Complete working example:, (*6)
html();
// And output the result
echo 'Title:
';
echo '' . htmlentities( $title) . ', (*7)
';
?>
====, (*8)
Source for test.html:, (*9)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Hello World!</title>
</head>
<body>
</body>
</html>