Add Laravel to Path on Mac OSX

I have been playing around learning the Laravel, the PHP framework for web artisans , in order to compare against our current favourite PHP development framework – CakePHP.

When installing Laravel the documentation instructs :

Make sure to place the ~/.composer/vendor/bin directory (or the equivalent directory for your OS) in your PATH so the laravel executable can be located by your system.

To put this folder on the PATH environment variable type, just copy and paste the following commands into your terminal window

If you want it to be automatically set For bash you can append this line to $HOME/.bashrc using your favourite editor or type the following on the shell

Once complete ensure your refresh the source by executing

Gary Woodfine

Founder & CTO of Experienced full stack software developer well versed in delivering web & mobile applications utilizing cloud architectures. Areas of speciality include cross platform development in .net , PHP, JavaScript.

%d bloggers like this: