Deploy Laravel for Bitbucket Pipelines
View on GitHub

Step 3: Set the PHP version

Your bitbucket-pipelines.yml uses a Docker image to install your composer dependencies. Make sure that the PHP version of this Docker image matches the PHP version of your server.

Change the version number in image: lorisleiva/laravel-docker:8.3 to match the PHP version of your server.