Symfony 6 Certification New exam with updated questions 100% online Show your expertise

Download Symfony

On an apt-based Linux, use the Symfony apt repository:

echo 'deb [trusted=yes] https://repo.symfony.com/apt/ /' | sudo tee /etc/apt/sources.list.d/symfony-cli.list
sudo apt update
sudo apt install symfony-cli

On a yum-based Linux, use the Symfony yum repository:

echo '[symfony-cli]
name=Symfony CLI
baseurl=https://repo.symfony.com/yum/
enabled=1
gpgcheck=0' | sudo tee /etc/yum.repos.d/symfony-cli.repo
sudo yum install symfony-cli
You can also download the binary from GitHub: 386, amd64, arm64.

Use Homebrew:

brew install symfony-cli/tap/symfony-cli
You can also download the binary from GitHub: all.

Use Scoop:

scoop install symfony-cli

Use GoFish:

gofish rig add https://github.com/symfony-cli/fish-food
gofish install github.com/symfony-cli/fish-food/symfony-cli
You can also download the binary from GitHub: 386, amd64.

The symfony binary is an Open-Source project and it provides:

Creating Symfony applications

If you are building a traditional web application:

symfony new --webapp 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.