2017 © Pedro Peláez
 

library phpquery-tools

phpQuery tools for extracting links and sanitizing HTML documents using phpQuery

image

stamina/phpquery-tools

phpQuery tools for extracting links and sanitizing HTML documents using phpQuery

  • Wednesday, January 30, 2013
  • by panrafal
  • Repository
  • 1 Watchers
  • 9 Stars
  • 28 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

PhpQuery Tools

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)

Usage

Check the tool's docs for general info, and the source code annotations for the API., (*4)

Installing

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"
        }
    ]
}

Testing

phpunit --bootstrap Tests/bootstrap.php Tests, (*7)

githalytics.com alpha, (*8)

The Versions

30/01 2013

dev-master

9999999-dev https://github.com/panrafal/phpquery-tools

phpQuery tools for extracting links and sanitizing HTML documents using phpQuery

  Sources   Download

MIT

The Requires

  • php >=5.3.3