php-phantomjs icon indicating copy to clipboard operation
php-phantomjs copied to clipboard

Can not install in laravel5.6

Open bhattraideb opened this issue 7 years ago • 3 comments

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.

bhattraideb avatar May 10 '18 14:05 bhattraideb

    - 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

hojabbr avatar Aug 20 '18 16:08 hojabbr

Try the DEV version:

composer require "jonnyw/php-phantomjs:@dev"

hojabbr avatar Aug 20 '18 16:08 hojabbr

Thanks @hojabbr

bhattraideb avatar Nov 03 '19 15:11 bhattraideb