Deployer to deploy Laravel

  • by

A robust method of deploying your laravel application to a server. It allows for more complex and large deployments to be deployed without over complex configuration. Also allows you to build in additional commands for your deployment requirements.

Written in PHP and can support other such frameworks out of the box.

Understand the setup:

main folder
– releases
— folders for each release repository which you can choose how many versions are maintained
– shared
— other folders which should remain the same for each deployment
– current
— symlink to current release in releases folder

Connect to code source and server:
– agent forwarding
– server ssh key for code source

run deployment:
– First deployment will setup the folder structure
– Likely you will have errors as the .env files will not be correct for your application

Leave a Reply