找不到类'GuzzleHttp \ Post \ PostFile'

时间:2019-07-05 17:55:19

标签: php laravel-5 composer-php

我有一个遗留的Laravel项目,我正在尝试向其中添加“ guzzlehttp / guzzle”:“〜5.0”,因此我正在运行命令:composer需要将“ guzzlehttp / guzzle:〜5.0”添加到输出如下所示。当我尝试将邮件驱动程序更改为mailgun时,输出为:

FatalErrorException in MailgunTransport.php line 79:
Class 'GuzzleHttp\Post\PostFile' not found

Laravel框架已锁定在composer.lock中:5.0.33

这就是所有composer.lock:https://pastebin.com/dBJjDBtJ

这是composer.json的全部内容:https://pastebin.com/UQNhKkyA

这是尝试运行composer require "guzzlehttp/guzzle:~5.0"

的输出
  Problem 1
    - Conclusion: remove laravel/framework v5.0.33
    - Conclusion: don't install laravel/framework v5.0.33
    - ryannielson/shareable 1.0.0 requires illuminate/view 4.1.* -> satisfiable by illuminate/view[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
    - ryannielson/shareable 1.0.1 requires illuminate/view 4.1.* -> satisfiable by illuminate/view[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
    - ryannielson/shareable 1.0.2 requires illuminate/view 4.1.* -> satisfiable by illuminate/view[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9].
    - ryannielson/shareable 1.0.3 requires illuminate/view ~4.1 -> satisfiable by illuminate/view[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - ryannielson/shareable 1.0.4 requires illuminate/view ~4.1 -> satisfiable by illuminate/view[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
    - don't install illuminate/view v4.1.0|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.1|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.10|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.11|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.12|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.13|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.14|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.15|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.16|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.17|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.18|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.19|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.2|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.20|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.21|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.22|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.23|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.24|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.25|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.26|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.27|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.28|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.29|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.3|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.30|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.4|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.5|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.6|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.7|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.8|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.1.9|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.1|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.12|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.16|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.17|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.2|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.3|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.4|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.5|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.6|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.7|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.8|don't install laravel/framework v5.0.33
    - don't install illuminate/view v4.2.9|don't install laravel/framework v5.0.33
    - Installation request for laravel/framework (locked at v5.0.33, required as 5.0.*) -> satisfiable by laravel/framework[v5.0.33].
    - Installation request for ryannielson/shareable 1.0.* -> satisfiable by ryannielson/shareable[1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4].

我已经尝试过运行作曲家更新,自动加载并删除缓存。

注意:如果格式格式错误或缺少某些内容,请尝试学习。谢谢!

0 个答案:

没有答案