➜ ~ composer diagnose
Checking platform settings: WARNING
The OpenSSL library (0.9.8za) used by PHP does not support TLSv1.2 or TLSv1.1.
If possible you should upgrade OpenSSL to version 1.0.1 or above.
但这似乎与我实际运行的OpenSSL版本相匹配。
➜ ~ which openssl
/usr/local/opt/openssl/bin/openssl
➜ ~ openssl version
OpenSSL 1.0.2k 26 Jan 2017
我意识到有类似的问题,但最流行的答案建议使用现在破坏的命令
brew link --force openssl
根据评论不起作用。