Laravel Homestead Version 6 Released
Published on by Paul Redmond
The Laravel Homestead project just tagged the release of version 6.0.0 along with Settler 3.0. Homestead 6 now supports multiple versions of PHP on the same virtual machine. For developers maintaining apps on different versions of PHP, this change will make it easier to use Homestead.
The available PHP versions include 5.6
, 7.0
, and 7.1
. If you want a site to use 5.6
, you would specify the following in the Homestead.yaml
file:
sites: - map: homestead.app to: /home/vagrant/Code/Laravel/public php: "5.6"
If the php
key is omitted the site will default to PHP 7.1
, so things will continue to work as expected for existing sites.
You can get the full details from the 6.0 release notes.