Follow instructions at symfony-docker project's README:
- If not already done, install Docker Compose (v2.10+)
- Run
docker compose build --no-cacheto build fresh images - Run
docker compose up -dto start the containers - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate
- Run
bin/console doctrine:fixtures:loadto load data fixtures. More info atsrc\DataFixtures.
Once installed (composer install --working-dir=tools/linter) run the linter by executing tools/linter/vendor/bin/php-cs-fixer fix src
You can also run it on a pre-build Docker image wih docker run -it --rm -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix src (on Powershell/Windows replace $(pwd) with ${pwd})
WIP
Created by Asier Zunzunegui