标签: php symfony symfony-flex
所以我借助这个命令下载了symfony 4
composer create-project symfony/skeleton my-project
之后,从项目目录中我尝试使用命令
composer require profiler --dev
但作曲家有问题。就像它想要以标准方式拉下包装而不是利用symfony flex
更新:发布于https://github.com/symfony/flex/issues/306
答案 0 :(得分:0)
在以下nicolas-grekas
您可以继续使用this link中的symfony容器,只需查找flex使用的别名。
在你的情况下,flex的twig是“symfony / twig-bundle”,运行composer req symfony / twig-bundle。
composer req symfony / twig-bundle
salu2