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. Read More

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.6.1

  • Fix panics on Windows when using non interactive SSH sessions (for example "db:dump > dump.sql")
  • Disable ANSI color emulation on Windows when we detect a POSIX compatible emulator (fix panics with log coloration)
  • Fix Windows color emulation is not present when using Hyper
  • Fix Git should not be required for Local Web Server
  • Display a warning in Local Web Server logs when we detect a container with none of its ports exposed
  • Add support for phpbrew dev versions
  • Fix string escaping when generating PHP files

4.6.0

  • Add HTTP/2 support in proxy to local web server
  • Enforce having SSH key configured before trying to connect using SSH
  • Make sure "deploy" always return an exit status != 0 when deploy fails
  • Show payment method details during SymfonyCloud checkout
  • Make the SymfonyCloud checkout payment more explicit
  • Expose "SYMFONY_DEFAULT_ROUTE_{URL,HOST,SCHEME,PATH,PORT}" environment variables
  • Fix .env files override relationships and tunnels environment variables in Console context
  • Make "symfony php" forward exit status code
  • Fix rsync paths are being switched when using local to remote way
  • Fix typo in env:rsync help
  • Fix slowness in the local server because of connection attempt to Docker even if docker-compose is not in use
  • Fix Docker integration when project directory name contains special characters

4.5.5

  • Fix transferring files using "env:cp" with Windows when specifying remote path
  • Fix DATABASE_URL forces serverVersion to 10.2.0 whereas it is compatible with >= 10.2.7
  • Allow one to use DATABASE_VERSION and DATABASE_CHARSET environment variable to override values in DATABASE_URL
  • Add missing help in the error message when ones tries to delete a project variable whereas it is defined at the environment level
  • Fix "symfony ssh" does not OpenSSH known hosts in addition to PuTTY ones on Windows
  • Don't allow uploading SSH keys that are already uploaded
  • Fix "symfony deploy" does not interactively ask to trust Host key on Windows
  • Make "symfony deploy" exit earlier when everything is up to date
  • Add "--dry-run" option to "symfony deploy"

By downloading and using the Symfony client you accept its End-User License Agreement.

Creating Symfony applications

Symfony 4.3 is the latest stable version. Use it to get the most recent Symfony features. End of support for bug fixes: Jan 2020 (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.