无法使用作曲家安装symfony项目

Cannot install symfony project using composer

我正在尝试使用 composer 安装 symfony。我正在使用以下命令

sudo composer create-project symfony/framework-standard-edition /var/www/html/infinite-jest

但我收到以下错误

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - sensio/distribution-bundle v3.0.12 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.13 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.14 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensio/distribution-bundle v3.0.15 requires sensiolabs/security-checker ~2.0 -> satisfiable by sensiolabs/security-checker[v2.0.0].
    - sensiolabs/security-checker v2.0.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
    - Installation request for sensio/distribution-bundle ~3.0.12 -> satisfiable by sensio/distribution-bundle[v3.0.12, v3.0.13, v3.0.14, v3.0.15].

我做错了什么,我应该怎么做?

您的系统中似乎没有安装 curl 或 php curl 扩展程序。 现在建议使用新的 installer for symfony