在5.3上安装Laravel Dusk

时间:2017-02-02 17:41:49

标签: php laravel composer-php laravel-dusk

我们已经在laravel 5.3上运行了一个项目 - 一旦供应商软件包全部更新,我们就会将其更新为5.4。

但是,在运行composer require laravel/dusk时,我们目前正在获得以下内容,并想知道是否有人知道解决方法?

  Problem 1
    - Conclusion: don't install laravel/dusk v1.0.5
    - Conclusion: don't install laravel/dusk v1.0.4
    - Conclusion: don't install laravel/dusk v1.0.3
    - Conclusion: don't install laravel/dusk v1.0.2
    - Conclusion: don't install laravel/dusk v1.0.1
    - Conclusion: remove symfony/console v3.1.10
    - Installation request for laravel/dusk ^1.0 -> satisfiable by laravel/dusk[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4, v1.0.5].
    - Conclusion: don't install symfony/console v3.1.10
    - laravel/dusk v1.0.0 requires symfony/console ~3.2 -> satisfiable by symfony/console[v3.2.0, v3.2.1, v3.2.2].
    - Can only install one of: symfony/console[v3.2.0, v3.1.10].
    - Can only install one of: symfony/console[v3.2.1, v3.1.10].
    - Can only install one of: symfony/console[v3.2.2, v3.1.10].
    - Installation request for symfony/console (locked at v3.1.10) -> satisfiable by symfony/console[v3.1.10].

1 个答案:

答案 0 :(得分:1)

Laravel Dusk是一个新工具,将在Laravel 5.4中引入。

由于某些软件包依赖性,Laravel 5.4 below version不支持它。

所以你需要升级到5.4才能发挥Laravel Dusk

的优势

升级文档here