Project Setup (Non-Docker)

Let's get started by setting up the project...which will basically be an empty Symfony project but with some extra dependencies installed.

The good news is you only need to grab one file from me and simple run composer install and then you'll be in the exact same starting position as me.

It would be good for you to have the exact same versions as me so I've specified the exact versions in the composer.json file.

The version of the setup is designed for running the application on your own host machine and assumes that you have PHP 8.2 or above installed.

In the next one I'll show you how to create an identical setup but which uses Docker to provide PHP and an Nginx web server.

When I initialize a Git repo in a couple of lessons time, I'll give you a branch for the starting setup, which you could also use.

Complete and Continue  
Discussion

2 comments