fobia/phpquery

PHPQuery

v0.10.0 2015-12-12 16:53 UTC

This package is not auto-updated.

Last update: 2024-10-26 19:37:43 UTC


README

This is phpQuery, a PHP port of jQuery selectors, super useful for DOM traversal
and functional testing.

It is originally by Tobiasz Cudnik:

http://code.google.com/p/phpquery/

And was released under the MIT license.

We've cloned it into github because no issues have been fixed upstream in the
last two years and we needed to fix a bug relating to the serialize()
method to get our functional tests to work. You can find our github
repository here:

https://github.com/punkave/phpQuery

"What did you fix?"

Our initial commit includes a fix for the serialize() method, crucial to do
form submissions (a big deal for functional testing). See the commit history
in github for any later changes.

- P'unk Avenue

Tests:

cd test-cases && php run.php
./vendor/bin/phpunit unit-tests/test.php