php-phantomjs
php-phantomjs copied to clipboard
Can not install in laravel5.6
Hi John, I am trying to install this packege in laravel5.6. I followed the instructions but I am getting Call to undefined method JonnyW\PhantomJs\Client::setBinDir() for $client->setBinDir('../bin'); even Call to undefined method JonnyW\PhantomJs\Http\CaptureRequest::setCaptureFile() I might be the issue? I am using php7.0 with nginx on ubuntu.
- Installation request for jonnyw/php-phantomjs 4.* -> satisfiable by jonnyw/php-phantomjs[4.0.x-dev, v4.0.0, v4.1.0, v4.2.0, v4.2.1, v4.3.0, v4.3.1, v4.3.2, v4.4.0, v4.5.0, v4.5.1, v4.6.0, v4.6.1].
- Conclusion: don't install symfony/console v4.1.3
- jonnyw/php-phantomjs 4.0.x-dev requires symfony/dependency-injection ~2.3
Dependency Issue
Try the DEV version:
composer require "jonnyw/php-phantomjs:@dev"
Thanks @hojabbr