Homebrew
xdebug
which you will have to do using PECL
. PECL is a repository of PHP extensions which provides all known extensions and hosting facilities for downloading and development of PHP extensions.composer
composer
laravel new
but it requires an additional configuration step to make it work.$PATH
so the Laravel executable can be located by your system.PATH
is an environment variable which is used for specifying a set of directories where executable programs are located.PATH
on MAC OSX$HOME/.bash_profile
, using any Text editor of your choice. Typically using either nano or Vim.CTRL + X
to exit and save the file.bash_profile
all in one line you can do so by :laravel new [project name]
.laravel new notepad
.cd notepad
and start the project php artisan serve
brew install caskroom/cask/virtualbox
brew install caskroom/cask/vagrant
homestead.yaml
file that will hold all the configuration for your VM.YAML
file, which contains configuration information regarding sites & files on your computer, databases to create etc. When you start a new project, you have to add an entry to this file and re-provision.Homestead.yaml
for your project.Laravel/Homestead
dependency to our project.cd
into your project directory then execute:Homestead.yaml
Homestead.yaml
created.192.168.10.10 sourcelink.test
vagrant up
and browse to the test site http://sourcelink.test