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, and 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 8.0, MySQL, Postgres, Redis, Memcached, Node, and all of the other goodies you need to develop amazing Laravel applications.
Official documentation is located here.
Ubuntu 20.04 can be found in the branch
| Ubuntu LTS | Settler Version | Homestead Version | Branch | Status | -----------| ----------- | ----------- | ----------- | ----------- | 20.04 | 11.x | 12.x |
main| Development/Unstable | 20.04 | 11.x | 12.x |
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/homesteadwill be a git checkout and can be used normally.