Richard Evans wrote a nice tutorial on how to put together a complete Continuous Integration & Delivery solution for a Laravel PHP Application using Bitbucket Pipelines.

Laravel pipeline