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.
envoy run deploy
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.
@servers(['web' => 'email@example.com'])
git pull origin master
php artisan migrate
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)
composer global require "laravel/envoy=~1.0"
Add composer ‘s bin directory to your path
echo "PATH=$PATH:~/.composer/bin" >> ~/.bash_profile
Create your Envoy task definition file
envoy init firstname.lastname@example.org
Edit the generated Envoy.blade.php then you are good to go!