October 17, 2012

Symfony2: How to start a new project easily with Composer

Composer is the best thing it happened to the PHP community since PHP 5.3 was released: PHP project dependencies made easy. It's worth the little time you must spent to learn how to use it. I can't recommend it enough.

How can I use this jewel to start a Symfony2 Standard Edition project? Have a look at how easy it is:

Now you have an empty symfony2 project to start coding inside directory.
Go and have some fun! :)