我使用的是最新的Symfony - 2.3Symfony的2.3安裝包
我試圖安裝SonataAdminBundles。在教程說 - 這增加DEPS文件。
[SonataAdminBundle]
git=http://github.com/sonata-project/SonataAdminBundle.git
target=/bundles/Sonata/AdminBundle
[SonataDoctrineORMAdminBundle]
git=http://github.com/sonata-project/SonataDoctrineORMAdminBundle.git
target=/bundles/Sonata/DoctrineORMAdminBundle
[SonatajQueryBundle]
git=http://github.com/sonata-project/SonatajQueryBundle.git
target=/bundles/Sonata/jQueryBundle
[KnpMenuBundle]
git=https://github.com/KnpLabs/KnpMenuBundle.git
target=/bundles/Knp/Bundle/MenuBundle
[KnpMenu]
git=https://github.com/KnpLabs/KnpMenu.git
target=/knp/menu
我看了有在這個版本中沒有DEPS文件,有composer.json現在,但是當我打開composer.json我看到還有另一種語法。
我應該如何通過作曲家安裝這個軟件包?
謝謝
所以我只需要安裝「sonata-project/doctrine-orm-admin-bundle」:「2.2.7」 - 其他軟件包會自動安裝嗎? –
如果你給我一些你的聯繫方式(Skype會很棒),我會非常感謝你的進一步建議。 –
是的,其他軟件包會自動安裝。您可以在'freenode' IRC網絡的'#symfony'頻道上找到我作爲用戶'nifr'。 – nifr