Need advice about which tool to choose?Ask the StackShare community!
Laravel Homestead vs pre-commit: What are the differences?
Laravel Homestead: The official Laravel local development environment (Vagrant box). Laravel Homestead is an official, pre-packaged Vagrant "box" that provides you a wonderful development environment without requiring you to install PHP, HHVM, a web server, and any other server software on your local machine. Homestead runs on any Windows, Mac, or Linux system, and includes the Nginx web server, PHP 5.6, MySQL, Postgres, Redis, Memcached, and all of the other goodies you need to develop amazing Laravel applications; pre-commit: A slightly improved pre-commit hook for git. pre-commit checks your code for errors before you commit it. pre-commit is configurable.
Laravel Homestead and pre-commit are primarily classified as "Virtual Machine" and "Git" tools respectively.
Some of the features offered by Laravel Homestead are:
- Ubuntu 14.04
- PHP 5.6
- HHVM
On the other hand, pre-commit provides the following key features:
- debugger: make sure you don't commit a debugger statement
- tabs: make sure your code uses leading spaces instead of tabs
- whitespace: make sure you don't commit trailing whitespace
Laravel Homestead and pre-commit are both open source tools. Laravel Homestead with 3.11K GitHub stars and 1.32K forks on GitHub appears to be more popular than pre-commit with 755 GitHub stars and 96 GitHub forks.
Pros of Laravel Homestead
- Easy to setup19
- Native enviroment13
- Cool if you finally get it set up 4 Win10 by night Devs1