# install laravel on mac
$ brew install composer
$ composer global require "laravel/installer"
$ sudo nano ~/.bash_profile
#add following line in .bash_profile
export PATH="~/.composer/vendor/bin:$PATH"
$ source ~/.bash_profile
$ laravel new firstProject
$ php artisan serv
// Adding Laravel to global Path in mac
export PATH="$PATH:$HOME/.composer/vendor/bin"