HTTP Client
適用於 Hyperf 的 HTTP 客戶端元件,移植自 Laravel。
安裝
shell
composer require friendsofhyperf/http-client
使用
php
use FriendsOfHyperf\Http\Client\Http;
$response = Http::get('https://example.com');
參考文件
有關更多資訊,請參閱 Laravel HTTP Client 文件。