0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Laravel5/6/7でGoutteを使用する時はバージョン指定しないとエラーになるよ。

Posted at

タイトル通りです。

Laravel5/6/7系にてGoutteを使用したい場合はインストール時にバージョン指定してあげないとエラーが出ます。

composer require weidner/goutte "1.6"

たぶんこれで、エラーなくインストールできるはず。

ちなみに、バージョン違いのエラーが出た時は使用したいライブラリのREADME.mdを見れば、大抵どっかに書かかれています。

今回の場合はこちらの最後に書かれていました!

感謝感謝(´ω`)ノ

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?