CQRS with Symfony Messenger
Requirements
- Docker compose
Setup
Initialize containers
$ docker compose up -d
Enter into the php container
$ docker compose exec -it php bash
Install composer dependencies
/var/www/html# $ composer install
Run migrations
/var/www/html# $ php bin/console doctrine:migrations:migrate --no-interaction
Go to localhost:8080
The php image already have xDebug listening on port 9003
with server name serverName=application
if you want to go step by step
See the full post on dev.to/adgaray and the spanish version