PHP code example of hybridlogic / phantomjs
1. Go to this page and download the library: Download hybridlogic/phantomjs library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hybridlogic / phantomjs example snippets
$phantomjs = new HybridLogic\PhantomJS\Runner;
$result = $phantomjs->execute(dirname(__FILE__) . '/script.js', $arg1, $arg2);