dev-master
9999999-dev https://github.com/panrafal/phpquery-toolsphpQuery tools for extracting links and sanitizing HTML documents using phpQuery
MIT
The Requires
- php >=5.3.3
Wallogit.com
2017 © Pedro Peláez
phpQuery tools for extracting links and sanitizing HTML documents using phpQuery
Is a small set of helper tools to manipulate HTML documents., (*1)
It is using phpQuery library, which in turn is a PHP port of [jQuery][2]., (*2)
Currently there are two of them:, (*3)
Check the tool's docs for general info, and the source code annotations for the API., (*4)
The best way is to use composer. Add the stamina/phpquery-tools package to your composer.json:, (*5)
You will also need a phpQuery library. You can use mine, but it's not hosted on packagist:, (*6)
{
"require": {
"stamina/phpquery": "1.*",
"stamina/phpquery-tools": "1.*"
},
"repositories": [
{
"type": "vcs",
"url": "https://github.com/panrafal/phpquery.git"
}
]
}
phpunit --bootstrap Tests/bootstrap.php Tests, (*7)
phpQuery tools for extracting links and sanitizing HTML documents using phpQuery
MIT