Solutions with PHP 7.2 and Symfony
ddev startddev sshcomposer installcp .env.local.dist .env.local- set
AOC_SESSIONto the value of yoursessioncookie in order to download the days puzzle input
- set
php bin/console doctrine:migrations:migrateyarn installyarn encore dev- visit https://adventofcode-2019.ddev.site/ and select a day
- Add a new solution:
php bin/console make:daysolver
ddev configddev sshcomposer create-project symfony/website-skeleton adventofcode-2019composer require annotationsphp bin/console make:controller webphp bin/console make:controller puzzle --no-templatephp bin/console make:controller day01 --no-templatecomposer require symfony/webpack-encore-bundleyarn installyarn add jquery