O'Reilly logo

Learning Laravel 4 Application Development by Hardik Dangar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing Laravel 4 on Mac

You will need to install a web server before installing anything else. You can do that by installing the MAMP server using the following prepackaged development environment:

Once you install the MAMP server, you can install Composer using the following command line:

$ brew tap josegonzalez/homebrew-php
$ brew install josegonzalez/php/composer

Or if you don't have homebrew installed, use the following command:

$ php -r "eval('?>'.file_get_contents('https://getcomposer.org/installer'));"

This will install Composer into the local directory of your project. To install it globally, you can copy your composer.phar file to your bin directory in /usr/local/.

Now you can download ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required