- 1. 概要
- 2. インストール
1. 概要
「composer」で、「GuzzleHttp」をインストールするらしいのですが、これがうまくいかないのだ。
2. インストール
参考サイトにならって、インストールしてみます。
composer require guzzlehttp/guzzle
こんなメッセージが出力されます。
Using version ^7.2 for guzzlehttp/guzzle
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 6 installs, 0 updates, 0 removals
- Installing psr/http-message (1.0.1): Loading from cache
- Installing psr/http-client (1.0.1): Loading from cache
- Installing ralouphie/getallheaders (3.0.3): Loading from cache
- Installing guzzlehttp/psr7 (1.7.0): Loading from cache
- Installing guzzlehttp/promises (1.4.1): Downloading (100%)
- Installing guzzlehttp/guzzle (7.2.0): Loading from cache
guzzlehttp/psr7 suggests installing laminas/laminas-httphandlerrunner (Emit PSR-7 responses)
guzzlehttp/guzzle suggests installing ext-curl (Required for CURL handler support)
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
Writing lock file
Generating autoload files
1 package you are using is looking for funding.
Use the `composer fund` command to find out more!
ほんでこれが
$home/vender
の下に作られちゃうので、なんだかわからなくなる。
$home/.composer/vendor/
の下に作るつもりだったのに・・・。
でまぁ、「Laravel」インストール時の作業を読み返してみて、はたと気づく・・・。
わたしの作成したいようにつくるには
composer global require guzzlehttp/guzzle
だったのだ。
|