Vagrant is a tool to help launch development environments. In the old days developers would use tools like WAMP / MAMP or perhaps more advanced programs like VMWare to launch their development environments. They were clunky and often multiple projects would share the same environment because it would be too much effort to replicate an environment for a new project.
Tools like Vagrant and Docker have changed the way development and even production environment works.
I use Vagrant to setup my local development environments. I’ve spent a bit of time to configure a vanilla workable system which comprises of Nginx, PHP FPM & MySQL. It works great and allows me to get new projects started with three console commands.
clone https://github.com/sketchthat/vagrant-lemp.git my_project
Check out my GitHub repo to use my Vagrant Provisioning script.