svpernova09 / homestead
A fork of laravel/homestead.
Requires
- php: ^8.3 || <8.4
- symfony/console: ^6.0 || ^7.0
- symfony/process: ^6.0 || ^7.0
- symfony/yaml: ^6.0 || ^7.0
Requires (Dev)
- dms/phpunit-arraysubset-asserts: ^0.2.1
- phpstan/phpstan: ^1.10
- phpunit/phpunit: ^9.5
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-main
- v18.0.0
- v17.0.4
- v17.0.3
- v17.0.2
- v17.0.1
- v17.0.0
- v16.0.0
- v15.1.4
- v15.1.3
- v15.1.1
- v15.1.0
- v15.0.3
- v15.0.2
- v15.0.1
- v15.0.0
- v14.5.0
- v14.4.2
- v14.4.1
- v14.4.0
- v14.3.1
- v14.3.0
- v14.2.2
- v14.2.1
- v14.2.0
- v14.1.1
- v14.1.0
- v14.0.1
- v14.0.0
- v13.3.2
- v13.3.1
- v13.3.0
- v13.2.1
- v13.2.0
- v13.1.1
- v13.1.0
- v13.0.2
- v13.0.1
- v13.0.0
- v12.8.0
- v12.7.1
- v12.7.0
- v12.6.1
- v12.6.0
- v12.5.0
- v12.4.2
- v12.4.1
- v12.4.0
- v12.3.2
- v12.3.1
- v12.3.0
- v12.2.0
- v12.1.1
- v12.1.0
- v12.0.0
- v11.4.0
- v11.3.3
- 11.3.2
- v11.3.0
- v11.2.4
- v11.2.3
- v11.2.2
- v11.2.1
- v11.2.0
- v11.1.2
- v11.1.1
- v11.1.0
- v11.0.2
- v11.0.1
- v11.0.0
- v11.0.0-beta
- v10.17.0
- v10.16.0
- v10.15.2
- v10.15.1
- v10.15.0
- v10.14.0
- v10.13.3
- v10.13.2
- v10.13.1
- v10.13.0
- v10.12.0
- v10.11.0
- v10.10.1
- v10.10.0
- v10.9.2
- v10.9.1
- v10.9.0
- v10.8.1
- v10.8.0
- v10.7.0
- v10.6.1
- v10.6.0
- v10.5.1
- v10.5.0
- v10.4.0
- v10.3.1
- v10.3.0
- v10.2.0
- v10.1.0
- v10.0.2
- v10.0.1
- v10.0.0
- v9.4.1
- v9.4.0
- v9.3.1
- v9.3.0
- v9.2.2
- v9.2.1
- v9.2.0
- v9.1.0
- v9.0.7
- v9.0.6
- v9.0.5
- v9.0.4
- v9.0.3
- v9.0.2
- v9.0.1
- v9.0.0
- v9.0.0-beta
- v9.0.0-alpha2
- v9.0.0-alpha1
- v8.6.0
- v8.5.6
- v8.5.5
- v8.5.4
- v8.5.3
- v8.5.2
- v8.5.1
- v8.5.0
- v8.4.0
- v8.3.2
- v8.3.1
- v8.3.0
- v8.2.0
- v8.1.0
- v8.0.2
- v8.0.1
- 8.0.0
- v8.0.0-alpha2
- v7.20.0
- v7.19.2
- v7.19.1
- v7.19.0
- v7.18.0
- v7.17.0
- v7.16.1
- v7.16.0
- v7.15.1
- v7.15.0
- v7.14.2
- v7.14.1
- v7.14.0
- v7.13.0
- v7.12.0
- v7.11.0
- v7.10.0
- v7.9.0
- v7.8.0
- v7.7.0
- v7.6.2
- v7.6.1
- v7.6.0
- v7.5.0
- v7.4.2
- v7.4.1
- v7.4.0
- v7.3.0
- v7.2.0
- v7.1.2
- v7.1.1
- v7.1.0
- v7.0.1
- v7.0.0
- v6.6.0
- v6.5.0
- v6.4.0
- v6.3.0
- v6.2.2
- v6.2.1
- v6.2.0
- v6.1.0
- v6.0.3
- v6.0.2
- v6.0.1
- v6.0.0
- v5.4.0
- v5.3.2
- v5.3.1
- v5.3.0
- v5.2.4
- 5.2.3
- 5.2.2
- v5.2.1
- v5.2.0
- v5.1.0
- v5.0.1
- v5.0.0
- v4.0.5
- v4.0.4
- v4.0.3
- v4.0.2
- v4.0.1
- v4.0.0
- v3.1.0
- v3.0.2
- v3.0.1
- v3.0.0
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.8
- v2.1.7
- v2.1.6
- v2.1.5
- v2.1.4
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.17
- v2.0.16
- v2.0.15
- v2.0.14
- v2.0.13
- v2.0.12
- v2.0.11
- v2.0.10
- v2.0.9
- v2.0.8
- v2.0.7
- v2.0.6
- v2.0.5
- v2.0.4
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- dev-release
- dev-wsl-rework
This package is auto-updated.
Last update: 2026-12-01 18:16:47 UTC
README
This is a fork of Laravel Homestead. The original repository can be found at https://github.com/laravel/homestead
Introduction
Laravel Homestead is an official, pre-packaged Vagrant box that provides you a wonderful development environment without requiring you to install PHP, a web server, or any other server software on your local machine. No more worrying about messing up your operating system! Vagrant boxes are completely disposable. If something goes wrong, you can destroy and re-create the box in minutes!
Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP, MySQL, Postgres, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.
Official documentation is located here.
Components
Homestead is made up of 2 different projects. The first is this repo which is the Homestead application itself. The application is a wrapper around Vagrant which is an API consumer of a virtualization hypervisor, or provider such as Virtualbox, Hyper-V, VMware, Or Parallels. The second part of Homestead is Settler, which is essentially JSON & Bash scripts to turn a minimalistic Ubuntu OS into what we call Homestead base box. Homestead and Settler (AKA Homestead Base / Base Box) combined give you the Homestead development environment.
When you run
vagrant upfor the first time Vagrant will download the large base box from Vagrant cloud. The base box is the output from Settler. The base box will be stored at~/.vagrant.d/and copied to the folder you ran vagrant up command from in a hidden folder named.vagrant. This is what allows vagrant to create a VM and destroy it quickly and without having to download the large base box again.
Current versions
| Ubuntu LTS | Settler Version | Homestead Version | Branch | Status |
|---|---|---|---|---|
| 22.04 | 14.x | 15.x | main |
Development/Unstable |
| 22.04 | 14.x | 15.x | release |
Stable |
Building the base box
The base box is built with Packer from a chef/bento checkout, using Settler's provisioning script in place of bento's cleanup step. Settler has one script per distribution (scripts/ubuntu.sh), and it detects the architecture at runtime, so every build below uses the same script.
Prerequisites
Clone Settler and bento next to each other:
~/Code/settler
~/Code/bento
Then link Settler's script into bento. Do this before every build: it restores bento's templates and hard-links the current scripts/ubuntu.sh into bento. The cmp confirms that bento has the current copy.
cd ~/Code/settler && ./bin/verify-scripts.sh && ./bin/link-to-bento.sh \ && cmp scripts/ubuntu.sh ../bento/packer_templates/scripts/ubuntu/homestead.sh && echo "bento has the current script"
Each build writes its box to ~/Code/bento/builds/build_complete/. Packer's -force overwrites a previous box of the same name, so move any box you want to keep out of that directory first.
Parallels, arm64 (Apple Silicon Mac)
Requires Parallels Desktop Pro/Business, Packer, and Vagrant with vagrant-parallels 2.4.10 or newer.
Run this from a regular terminal window, not tmux or screen: macOS's Local Network privacy blocks Packer from reaching the VM when it is started from a session that launchd owns, such as tmux. The terminal app needs to be enabled under System Settings → Privacy & Security → Local Network. The 26.04 installer downloads updates before it starts SSH, so allow a long SSH timeout.
cd ~/Code/bento && packer build -force -only=parallels-iso.vm -var ssh_timeout=60m \ -var-file=os_pkrvars/ubuntu/ubuntu-26.04-aarch64.pkrvars.hcl ./packer_templates
Output: builds/build_complete/ubuntu-26.04-aarch64.parallels.box (about 30 minutes).
VirtualBox, amd64 (x86_64 Linux host)
Requires VirtualBox 7.2+ and Packer. Use HashiCorp's Vagrant 2.4.9 or newer to test the box: older distro-packaged Vagrant releases cannot drive VirtualBox 7.1+.
On Linux kernels 6.12 and newer, KVM takes VT-x when its module loads, and VirtualBox then fails with VERR_VMX_IN_VMX_ROOT_MODE. Boot with kvm.enable_virt_at_load=0 (e.g. sudo grubby --update-kernel=ALL --args="kvm.enable_virt_at_load=0") so that KVM only takes VT-x while a KVM guest is running. VirtualBox and KVM VMs still can't run at the same time, so halt one before you start the other.
cd ~/Code/bento && packer build -force -only=virtualbox-iso.vm \ -var-file=os_pkrvars/ubuntu/ubuntu-26.04-x86_64.pkrvars.hcl ./packer_templates
Output: builds/build_complete/ubuntu-26.04-x86_64.virtualbox.box (about 40 minutes).
libvirt (QEMU/KVM), amd64 (x86_64 Linux host)
Requires QEMU with KVM, OVMF (EDK2) UEFI firmware, Packer, and vagrant-libvirt to test the box. bento's defaults assume firmware under /usr/local/share/qemu, so pass your distribution's paths. The paths below are Fedora's; on Debian/Ubuntu they are /usr/share/OVMF/OVMF_CODE_4M.fd and /usr/share/OVMF/OVMF_VARS_4M.fd.
cd ~/Code/bento && packer build -force -only=qemu.vm -var qemu_accelerator=kvm \ -var qemu_efi_firmware_code=/usr/share/edk2/ovmf/OVMF_CODE.fd \ -var qemu_efi_firmware_vars=/usr/share/edk2/ovmf/OVMF_VARS.fd -var headless=true \ -var-file=os_pkrvars/ubuntu/ubuntu-26.04-x86_64.pkrvars.hcl ./packer_templates
Output: builds/build_complete/ubuntu-26.04-x86_64.libvirt.box (about 30 minutes).
Testing a box
A successful packer build does not prove the box works: the provisioning script runs without set -e, so a single command can fail without stopping the build. Add the box locally, bring Homestead up on it, and run Settler's smoke test inside the VM:
vagrant box add --force --name settler/ubuntu-26.04 ~/Code/bento/builds/build_complete/<box file>
In Homestead.yaml, point at the local box and set the matching provider (parallels, virtualbox or libvirt). SpeakFriendAndEnter skips Homestead's box version constraint, which a locally added box with no version cannot meet:
box: settler/ubuntu-26.04 SpeakFriendAndEnter: "1" provider: parallels
vagrant up vagrant ssh -c 'bash -s' < ~/Code/settler/bin/smoke-test.sh
The smoke test expects the box's default MySQL, so its MySQL checks fail when the mariadb feature is enabled. Record each box's checksum (shasum -a 256 <box file>) for publishing.
Developing Homestead
To keep any in-development changes separate from other Homestead installations, create a new project and install Homestead from composer, forcing it to use a git checkout.
$ mkdir homestead && \
cd homestead && \
composer require --prefer-source laravel/homestead:dev-main
After it's complete, vendor/laravel/homestead will be a git checkout and can be used normally.