This article appeared first on https://www.pascallandau.com/ at https://www.pascallandau.com/blog/run-laravel-9-docker-in-2022/ In this third subpart of the fourth part of this tutorial series on developing PHP on Docker we will install Laravel and make sure our setup works for Artisan Commands, a Redis Queue and Controllers for the front end requests.
The methods ensure that the tests are only executed if the proper database connection and queue driver is configured.