1.1 - Setup the requirements


Running Symfony on local machines are faster without using Docker for both PHP and Apache/Nginx. We recommend using the Symfony web local server instead.

Install Symfony CLI

curl -sS https://get.symfony.com/cli/installer | bash

PHP 8.1 or later

Ensure you have php 8.1 or later locally installed

php -v

If you do not have php yet...

On macOS, you can use brew:

brew install php@8.1

On linux, you can use apt-get:

sudo apt-get install php8.1

MySQL 5.7

We'll provide a docker-compose to setup mysql5.7.

But you can also install it yourself.

On macOS, you can use brew:

brew install mysql@5.7