Grab the setup
script, put somewhere on your $PATH.
wget -P ~/bin "https://raw.githubusercontent.com/john-needham/laravel-setup/master/setup"
chmod +x ~/bin/setup
Execute, it'll request password to configure the hostfile:
$ setup name
Browse to http://name.local