Queue consumer; messages represent a PDF letter to be sent to the Notify (Notifications) API for printing, updates Sirius with status.
# Install dependencies on your host machine
make composer-install
# Update the local.env file with any secret credentials when testing external services
make build
make up
If you are not developing against a local or test version of Notify or Sirius you can run the mock services with:
docker compose --project-name notify-queue-consumer up -d --build --force-recreate consumer-mock-notify
docker compose --project-name notify-queue-consumer up -d --build --force-recreate consumer-mock-sirius
Unit tests
make unit-test
Functional tests
# Ensure the consumer is built before attempting to run the functional tests
make functional-test
See IDE PHPUnit coverage integration setup
make lint
make phpstan
docker compose run composer require <PACKAGE>>:<VERSION>
E.g.
docker compose run composer require package/name:^1.0