установка 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"
    }
}
2.Потом в #bash консоль ввел composer require "jonnyw/php-phantomjs:4.*" 3.Выдало ошибки введите сюда описание изображения


Ответы (0 шт):