PHP code example of hi-noikiy / querylist-phantomjs
1. Go to this page and download the library: Download hi-noikiy/querylist-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/ */
hi-noikiy / querylist-phantomjs example snippets
use QL\QueryList;
use QL\Ext\PhantomJs;
$ql = QueryList::getInstance();
// Set PhantomJS bin path
$ql->use(PhantomJs::class,'/usr/local/bin/phantomjs');
//or Custom function name
$ql->use(PhantomJs::class,'/usr/local/bin/phantomjs','browser');