If you have installed make, you can use the commands provided in the Makefile.
- PHP 8.3
- Composer
- Make sure you have recent versions of Docker and Docker Compose installed.
- Clone this repository.
- Build and run the stack by calling
docker-compose up -d --build
. - 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. - Run
composer dump-autoload
to create your autoloader.
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.