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 "file_put_contents('symfony', file_get_contents(''));"

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

If you can't use the installer try instead the Symfony installation based on Composer.

$ symfony new my_project
$ symfony new my_project 2.7

Symfony Demo application

The best Symfony learning resource and the reference to develop applications following the official best practices.

Download it for free

Don't miss any updates!

Receive an email when a new Symfony version is published or when a Symfony version reaches its end of life.

Subscribe it for free

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.

Symfony Source Code

Symfony is publicly hosted on GitHub. Join us sending pull requests, reviewing code, or reporting issues.

Free and Open Source

Symfony code is published under the MIT license, which is friendly for developers and safe for businesses.

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.