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 the setup.exe installer to create a binary called symfony.

If you prefer, you can download the binary directly for 32-bit or 64-bit platforms.

4.5.4

  • Fix panic in relationships decoding when database has no credentials
  • Fix panic in "self:cleanup" when no previous version is present
  • Fix reading SSH passphrase when redirecting stdin
  • Switch MySQL/MariaDB charset from utf8 to utf8mb4
  • Add support for running "symfony phpdbg"
  • Add support for Kafka services (for SymfonyCloud and Docker)
  • Make variable project level by default for "var:delete" (and switched from "project-level" to "env-level" flag)

4.5.3

  • Fix a panic in reloading proxy configuration
  • Make really hard to create projects in non interactive environments
  • Fix a race condition when running PHP commands
  • Clean up "var/" sub-directories when empty
  • Fix potential panic in relationships decoding

4.5.2

  • Fix the auto-updater

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.