为什么 symfony 2 同时使用 'deps' 文件和 'composer.json' 文件? [英] Why symfony 2 uses both, the 'deps' file and the 'composer.json' file?
本文介绍了为什么 symfony 2 同时使用 'deps' 文件和 'composer.json' 文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
为什么 symfony 2 同时使用 deps
文件和 composer.json
文件?
Why symfony 2 uses both, the deps
file and the composer.json
file?
我可以看到一些文件告诉我:
I can see some documents tell me to:
php bin/vendors install
而另一个告诉我:
php composer.phar install
推荐答案
deps
文件和 bin/vendors
脚本用于 Symfony 2.0.x,而 Symfony 2.1.x 已切换到 Composer.bin/vendors
脚本只是一个存根,因为在 Symfony 2.0.0 发布时 Composer 还没有准备好用于生产.
The deps
file and bin/vendors
script are used in Symfony 2.0.x, while Symfony 2.1.x has switched to Composer. The bin/vendors
script was just a stub because Composer was not ready for production when Symfony 2.0.0 was released.
这篇关于为什么 symfony 2 同时使用 'deps' 文件和 'composer.json' 文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文