Download Symfony

Run this installer to create a binary called symfony:

wget https://get.symfony.com/cli/installer -O - | bash
SHA-256 checksums of the installed binary
  • linux_amd64: 2b7d0c468ae9437813fb723c4acf7abac90ee9e3c1e6e5f09890859455c90602
  • linux_386: 902bfb83ce42571e051dfcc0a6066ded961f3d0aca0d1c6dc4faf2ff42157d6c

Run this installer to create a binary called symfony:

curl -sS https://get.symfony.com/cli/installer | bash
SHA-256 checksums of the installed binary
  • darwin_amd64: cb5a39ddf622638accc7b591a287972b672dbb4e73d7a8cdbe2107bfe948cc05
  • darwin_386: edf37228f7599cec6ddb2b8d5f40302e4ebf1fac1fe89a528806e1c23a1f8772
If you prefer, you can download the binary directly:
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: 4d931f84f45e02d919fdb2860f4620e21df28166a88d3ad0b17a807ff3e6e48b
  • windows_386: b3df2ef329cbd4187b72a0e7b3b29987a4f6c15a1b2b7bd285f2b79d78b53ca5

4.7.0

  • Display an error when trying to retrieve a environment variable value marked as sensitive
  • Fix a panic when a Docker env var is empty
  • Improve messages for plan/storage update
  • Use "composer.phar" from the project directory if present
  • Disable timeouts on billing API
  • Fix Slack tokens for integrations setup are not properly validated
  • Add support for Strong Customer Authentication in payment process

4.6.4

  • Fix PHP-FPM logs wrong levels
  • Fix panic when installing the local CA and the system trust store cannot be found
  • Fix panic when a file/dir is not accessible when discovering PHP versions
  • Add support for "lts", "stable", "next", and "previous" as supported versions on "symfony new"
  • Rename "security:check" to "check:security"
  • Add automatic "composer" download when not available on "symfony new" and "symfony composer"
  • Add "check:requirements"

4.6.2

  • Fix PHP discovery for homebrew (when the binary contains a "_" under the "php/" subdirectory)
  • Add "billing:update:card" command to allow one to update projects's billing card from CLI
  • Change default PHP version selection to prefer non-symlinked versions
  • Fix infinite loop when credit card is invalid
  • Add a command to refresh PHP versions ("local:php:refresh")
  • Fix a panic when adding something between "symfony" and "composer"/"php"/"console"
  • Fix PHP version used for "symfony composer"
  • Add support for phpenv dev versions
  • Add information about why a PHP version is chosen for the current directory in "local:php:list"
  • Allow to "project:scale" directly to a specific plan
  • Fix looking for all PHP versions in PATH on Linux

End-User License Agreement of the Symfony binary.

Latest version: 4.7.0

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.