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:
MAMP stack (http://www.mamp.info/en/mamp/index.html)
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 Laravel 4 from the download section at http://laravel.com or https://github.com/laravel/laravel/archive/master.zip; once the download is complete, you can extract it into /var/www
of your system, which is generally the document root of your...