docker build --file docker/Dockerfile --tag notify-status-poller:latest .
# Install dependencies on your host machine
make composer
# Update the local.env file with any secret credentials when testing external services
make build-dev
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-status-poller up -d --build --force-recreate mock-notify
docker compose --project-name notify-status-poller up -d --build --force-recreate mock-sirius
Unit tests
make unit-test
Functional tests
make functionl-test
make lint
make phpstan
docker compose run composer require <PACKAGE>>:<VERSION>
E.g.
docker compose run composer require package/name:^1.0