Download Symfony

Run this installer to create a binary called symfony:

wget https://get.symfony.com/cli/installer -O - | bash
If you prefer, you can download the binaries directly from GitHub: 32-bit or 64-bit platforms.
SHA-256 checksums of the installer and binaries

SHA-256 checksum of the bash installer:

26212a69ed57411c731cde9bf6a5276464bc1e26755a492123d197f9ad16ba73

SHA-256 checksums of the installed binary:

  • linux_amd64: 54ce4b2c5619a5b49595a9111aa2db89bda4ff30d3052e5359212fb78acfdfcc
  • linux_386: 707dce11809a76685c14e7dbcc986114096ba89c1b1d3d86f37eea09f4fa6863
  • linux_arm: 611d91ce7549a7da44907a2b8867d79473972b49f31600eac9483a785a4f25aa
  • linux_arm64: de04f75718590197a29b4ad7abdd714bbecc0153f1f970b89b0f90de6cc89fb2

Symfony CLI will be published as a native Apple Silicon binary early 2021. Meanwhile, you can run it in Rosetta mode.

Run this installer to create a binary called symfony:

curl -sS https://get.symfony.com/cli/installer | bash
If you prefer, you can download the binary directly from GitHub.
SHA-256 checksums of the installer and binary

SHA-256 checksum of the bash installer:

26212a69ed57411c731cde9bf6a5276464bc1e26755a492123d197f9ad16ba73

SHA-256 checksums of the installed binary:

  • darwin_amd64: 2cf03d01060ebbe1ef0e90eabb998d7b8c24ea776a7234fb5512a60d5b2169c3
If you prefer, you can download the binaries directly from GitHub: 32-bit or 64-bit platforms.

SHA-256 checksums of the installer and binaries

SHA-256 checksum of the setup.exe installer:

b29b89b56a8536f520344ab45ff2e762eb89104c618e338e1013edaaf499e6b0

SHA-256 checksums of the installed binary:

  • windows_amd64: 8715dd70450743271e68de83842a1b5cfe25b2868766cfb6a8f41c54e4aa80ca
  • windows_386: 1c7e94e2a66398d056d663d14b73c9fa042513fdaac506ac466598b87f042011

Changelog of the most recent Symfony Binary versions:

4.21.6

  • Fix randomly missing RABBITMQ_*/MAILER_* env var (local web server)
  • Fix missing headers in responses (local web server)

4.21.5

  • Fix early logs not displayed when streaming logs of the local web server
  • Fix using plain PHP files with local web server not running PHP FPM
  • Fix log in the header of HTTP responses

4.21.4

  • Fix the Content-Length header of the toolbar modified and sent by the local web server
  • Fix empty response are converted to a 1 byte response by local web server
  • Fix Docker support when DOCKER_HOST is set to a unix:// path
  • Fix support for wildcard domains
  • Fix "server:start" when PHP FPM is already running
  • Fix "server:start" issue when an old PID file still exists
  • Remove stopped workers from output in "server:status"

End-User License Agreement of the Symfony binary.


The symfony binary created by the installer provides:

Creating Symfony applications

If you are building a traditional web application:

symfony new --full my_project

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

symfony new my_project

Read the docs to learn about installing Symfony with Composer.

Use the Symfony Components

Symfony Components are a set of decoupled and reusable libraries that can be used in any PHP application.

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.