How to upgrade symfony2 version?

2019-07-17 20:47发布

问题:

Is there a easy way to upgrade your symfony2.1.6 to 2.1.7 via command line or so? I am using composer.json

回答1:

Download composer.phar and then run in the symfony folder

php composer.phar update  

If you get some errors try removing first the vendors and try again. rm - R vendor/*