Level 3
Did you ever come up with a solution? I have the same need and feel like I must be missing something simple here. Thx
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi,
I need to pass additional guzzle options with Laravel HTTP Api Pool class. Please advise.
$guzzleOptions = [
'debug' => true
];
use Illuminate\Http\Client\Pool;
use Illuminate\Support\Facades\Http;
$responses = Http::pool(fn (Pool $pool) => [
$pool->get('http://localhost/first'),
$pool->get('http://localhost/second'),
$pool->get('http://localhost/third'),
]);
return $responses[0]->ok() &&
$responses[1]->ok() &&
$responses[2]->ok();
Please or to participate in this conversation.