Symfony: Detect Which Version is Installed

   Posted March 5, 2010 by David Kirk in Symfony

The Symfony php framework is frequently updated. Detecting which version is actively installed, however, is not well documented. Here is how to do it.


As Symfony has continued to progress and evolve, the differences between versions are becoming more and more important. Often I log into an installation and wonder which version is currently on the server.

From the command line / terminal run the following command:

symfony -V

This will return the current version of symfony that is installed on your server.

Happy developing!

 

About David Kirk

David Kirk is one of the original founders of tech-recipes and is currently serving as editor-in-chief. Not only has he been crafting tutorials for over ten years, but in his other life he also enjoys taking care of critically ill patients as an ICU physician.
View more articles by David Kirk

The Conversation

Follow the reactions below and share your own thoughts.