Download the Symfony client

Helps you create new Symfony applications. Provides a local HTTP/2 web server. Generates TLS certificates. Checks for security vulnerabilities. Seamlessly integrates with SymfonyCloud. A must-have tool when developing Symfony apps locally.

Run this command to create a binary called symfony:

wget https://get.symfony.com/cli/installer -O - | bash

Run this command to create a binary called symfony:

curl -sS https://get.symfony.com/cli/installer | bash

Download and run setup.exe to create a binary called symfony.

4.3.0

  • Add support for services as Docker containers

4.2.11

  • Add support for multiple "--file" flags on "symfony server:log"
  • Fix "--no-app-logs" flag on "symfony server:log"
  • Fix env vars support when using the built-in PHP server
  • Fix panic error when no PHP is detected at all
  • Add support for environment.merge-pr activity type
  • Don't link current directory at first project creation (on login) if no composer.json is found
  • Uniformize domain attach and detach wording and renamed "domain:remove" to "domain:detach"
  • Make possible to use "var:get" and "var:set" with variables not defined as environment variables
  • Improve configuration help when attaching a domain

4.2.10

  • Improve SSH experience on Windows (ANSI support)

Creating Symfony applications

Symfony 4.2 is the latest stable version. Use it to get the most recent Symfony features. End of support for bug fixes: Jul 2019 (see roadmap).

If you are building a traditional web application:

symfony new --full my_project

composer create-project symfony/website-skeleton my_project

If you are building a microservice, console application or API:

symfony new my_project

composer create-project symfony/skeleton my_project

Symfony 3.4 is the latest long-term support version. Use it for projects that prioritize very long support over new features. End of support for bug fixes: Nov 2020 (see roadmap).

If you are building a traditional web application:

symfony new --full --version=3.4 my_project

composer create-project symfony/website-skeleton:~3.4.0 my_project

If you are building a microservice, console application or API:

symfony new --version=3.4 my_project

composer create-project symfony/skeleton:~3.4.0 my_project

Using Symfony Components
in PHP applications

Symfony apps are built on top of a set of decoupled and reusable PHP libraries called Symfony Components. They have become the standard foundation on which the best PHP projects are built on. You can use any of these components in your own applications independently of the framework.

Install Composer and run this command to add a Symfony component in your app:

composer require
Symfony Demo application

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

Download

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

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.
Symfony Recipes Check out our recipes to integrate third-party packages into Symfony.
Download Legacy Versions Download Symfony 1.x for your legacy projects and applications.