In this tutorial we're going to investigate how you can store common commands within composer, giving you some handy shortcuts. https://paulund.co.uk/composer-scripts#command-events pre-install-cmd: occurs before the install command is executed with a lock file present.
pre-update-cmd: occurs before the update command is executed, or before the install command is executed without a lock file present.
command: occurs before any Composer Command is executed on the CLI.
Using composer scripts you can create a handy shortcut for your docker testing command.