The phpQuery class is a PHP-port of the jQuery JavaScript library. The phpQuery class is meant to manipulate the DOMDocument and provide functionality similar to jQuery using a similar syntax (including chaining function calls).