Home  >  Article  >  Backend Development  >  laravel 怎么使用guzzlehttp/guzzle

laravel 怎么使用guzzlehttp/guzzle

WBOY
WBOYOriginal
2016-06-06 20:15:522853browse

guzzlehttp/guzzle这个怎么在laravel里使用呢!不知道怎么引入进去,没ServiceProvider.php

回复内容:

guzzlehttp/guzzle这个怎么在laravel里使用呢!不知道怎么引入进去,没ServiceProvider.php

直接在 composer.json 的 require 一项中加入,
"guzzlehttp/guzzle": "6.*"

然后运行:composer update

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn