在您的项目的根目录因为你提到symfony,只需看看symfony标准版的composer.json
原文链接:https://www.f2er.com/php/131981.htmlhttps://github.com/symfony/symfony-standard/
或者甚至更好:按照the official instructions并直接使用symfony-standard作为项目的起点.
Start by visiting the Symfony2 download page at 07002. On this page,you’ll see the Symfony Standard Edition,which is the main Symfony2 distribution.