我需要使用作曲家在MacOS High Sierra上安装web-token/jwt-framework
。因此,我使用命令composer require web-token/jwt-framework
。当我这样做时,我在终端中收到此错误消息:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- web-token/jwt-framework v1.3.8 requires ext-gmp * -> the requested PHP extension gmp is missing from your system.
我尝试去https://gmplib.org/#DOWNLOAD,但是关于如何实际安装gmp并因此将其合并到我的PHP中没有任何内容。我没有尝试在PHP.INI中进行设置,因为我尚未进行任何安装。有什么建议吗?