установка phantomjs для php
Открыл инструкцию http://jonnnnyw.github.io/php-phantomjs/ 1.Первым делом создал файл composer.json с
{
"scripts": {
"post-install-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
],
"post-update-cmd": [
"PhantomInstaller\\Installer::installPhantomJS"
]
},
"config": {
"bin-dir": "bin"
}
}