[deprecated] phantomjs runner by php
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Diggin initial add src Apr 6, 2011
README.md tiny mod README Apr 6, 2011
sample.php

README.md

php-PhantomjsRunner

phantomjs - "minimalistic headless WebKit-based JavaScript-driven tool"

Requirements

  • PHP 5.3

Usage

set your phantomjs path: require_once "Diggin/Phantomjs.php"; $phantomjs = new Diggin\Phantomjs('/path/to/phantomjs/bin/phantomjs'); $phantomjs->getHtml($url);