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.0 or later

Ensure you have php 8.0 or later locally installed

php -v

If you do not have php yet...

On macOS, you can use brew:

brew install php@8.0

On linux, you can use apt-get:

sudo apt-get install php8.0

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