Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.18 KB

readme.md

File metadata and controls

33 lines (22 loc) · 1.18 KB

Web Summer Camp 2024 - Demystify Symfony - Understanding the functions of the framework

Tip

If you have installed make, you can use the commands provided in the Makefile.

Requirements

Optional requirements

Getting started

  1. Make sure you have recent versions of Docker and Docker Compose installed.
  2. Clone this repository.
  3. Build and run the stack by calling docker-compose up -d --build.
  4. To execute PHP, call docker-compose exec dev bash first, which will open a shell within the dev container. There PHP is available as usual.
  5. Run composer dump-autoload to create your autoloader.

Composer and Symfony

Both Composer and the Symfony CLI are preinstalled and can be called anywhere within the container via composer and symfony.

Be aware that Docker-related features of the Symfony CLI do not work as expected, as it can't access the Docker infrastructure.