Using the Symfony
full-stack framework

NOTE: At this moment, the latest stable version and the latest long-term support version correspond to the same Symfony 2.7 version. The next stable version (Symfony 2.8) will be released on November 2015.

First, install the Symfony Installer. Then, execute this command:

The Symfony Installer is a small PHP application that must be installed once in your computer. It greatly simplifies the creation of new projects based on the Symfony framework.

Installation on Linux and Mac OS X
$ sudo curl -LsS -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
Installation on Windows
c:\> php -r "readfile('');" > symfony

Move the downloaded file to your projects directory and execute it as php symfony.

$ symfony new my_project
$ symfony new my_project 2.7
Don't miss any updates! Subscribe to our notification service and receive an email as soon as a new Symfony version is published.
Free and Open Source Symfony code is published under the MIT license, which is friendly for developers and safe for businesses.

Using the Symfony

Symfony framework is built on top of a set of decoupled and reusable PHP components called Symfony Components. They are becoming the standard foundation on which the best PHP applications are built on. You can use any of these components on your own applications independently from the framework.

Adding a Symfony Component to your application:

$ composer require

This requires to install Composer globally in your system.

Download Symfony Distributions Check out our distributions ready for REST and CMS applications.
Download Legacy Versions Download Symfony 1.x for your legacy projects and applications.