小编joh*_*s12的帖子

Laravel Guzzle GET 请求

    $client = new Client(['base_uri' => 'http://api.tvmaze.com/']);

    $res = $client->request('GET', '/schedule?country=US&date=2014-12-01');

    return $res;
Run Code Online (Sandbox Code Playgroud)

返回此错误:

"Class 'Symfony\Bridge\PsrHttpMessage\Factory\HttpFoundationFactory' not found"
Run Code Online (Sandbox Code Playgroud)

我试过在我的 composer.json 文件中包含“symfony/psr-http-message-bridge”:“0.2”

php laravel guzzle

9
推荐指数
4
解决办法
7262
查看次数

标签 统计

guzzle ×1

laravel ×1

php ×1