Registry / testing / jonnyw-php-phantomjs

jonnyw-php-phantomjs

JSON →
library4.6.1phppackagistunverified

A PHP wrapper for loading pages through PhantomJS

composer require jonnyw/php-phantomjs
INSTALL
IMPORT
SIG · JONNYW-PHP-PHANTOM
J
jonnyw-php-phantomjs
testingphpv4.6.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Client
use JonnyW\PhantomJs\Client;

Load a web page using PhantomJS headless browser

use JonnyW\PhantomJs\Client; $client = Client::getInstance(); $request = $client->getMessageFactory()->createRequest('http://example.com', 'GET'); $response = $client->send($request); echo $response->getContent();
Debug
Known issues
breakingPhantomJS is no longer maintained; consider using Puppeteer or Playwright
fix
Switch to a modern headless browser solution
affects: >=4.0.0
gotchaRequires PhantomJS binary installed on system
fix
Download PhantomJS from phantomjs.org and add to PATH
affects: >=1.0.0
Upgrade
Version history
4.6.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
jonnyw-php-phantomjs — pip install jonnyw-php-phantomjs · libregistry