What is Laravel Homestead?

What is Laravel Homestead and why would you need it? According to the official docs:

"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."




First thing that Homestead needs is a virtual environment to run in, so for this you can use Virtual Box,  Parallels, Hyper-V or VMWare since Vagrant needs a virtual machine. Vagrant Box includes the following software:

  • Ubuntu 18.04
  • Git
  • PHP 7.2
  • PHP 7.1
  • PHP 7.0
  • PHP 5.6
  • Nginx
  • Apache (Optional)
  • MySQL
  • MariaDB (Optional)
  • Sqlite3
  • PostgreSQL
  • Composer
  • Node (With Yarn, Bower, Grunt, and Gulp)
  • Redis
  • Memcached
  • Beanstalkd
  • Mailhog
  • Elasticsearch (Optional)
  • ngrok
  • wp-cli
  • Zend Z-Ray
  • Go
  • Minio
The setup seems a bit daunting but the advantages are numerous, you don't really need to change anything on your system, since it runs in virtual environment you can really break anything and, perhaps most important of all: for teams of several developers working together if they are using Homestead, nobody can say: "But it works on my machine" since all the setups would be exactly the same! It can be also used for testing and much more.


Thanks for stopping by and keep coding!


Comments

Popular posts from this blog

10 Tips for Designing Better Test Cases

TestRigor - Review

How to Pass AZ-900 Azure Fundamentals Certification Exam