Sample Homestead.yaml file for windows

I use Vagrant/Homestead for PHP, WordPress, Laravel development at Code Workshop day in day out with no issues anymore about ‘developing on windows’. xdebug bolts up fine, and there’s far fewer issues when deploying to production because of the matching linux environment.

Here’s a cut down example of my homestead.yaml file that I use and update regularly.

* Notice the mapping of folder to vagrant folder to eventual site.

ip: ""
memory: 2048
cpus: 2
provider: virtualbox

authorize: c:/Users/codeworkshop/.ssh/

    - c:/Users/codeworkshop/.ssh/id_rsa

    - map:  c:/projects/cart-recovery/
      to: /home/vagrant/Code/

    - map:
      to: /home/vagrant/Code/

    - codeworkshop