Using Envoy to deploy website on the remote server

Envoy is a simple tool developed by the Laravel team. It is designed to perform task like deploying a website on a remote server, e.g. your VPS.

How does it work?

Take a look at one example of the Envoy.blade.php, which is the task definition file you will need to make it work.

While you can see there is no magic behind Envoy – it merely SSH login to the remote server and run the commands one by one. It provides a simple and elegant command line interface to use.

Install Envoy (with Composer)

Add composer ‘s bin directory to your path

Create your Envoy task definition file

Edit the generated Envoy.blade.php then you are good to go!

Share your thoughts