Laravel 4.1 installation with composer in xampp

composer-php, laravel-4, php

Solution

Four simple steps to install laravel on windows machine:

- After installing xampp, just download composer from https://getcomposer.org/download/ and install it.

- goto path C:/xampp/htdocs and create a folder as laravel, redirect to laravel using cmd prompt as cd c:\xampp\htdocs\laravel.

- then simply type this command to create a first project composer create-project laravel/laravel first-project --prefer-dist Replace first-project with your project name (it takes a few minutes to install)

- then redirect to localhost/laravel/first-project/public/ and now you can see the Laravel logo along with a quick message saying “You have arrived.” ( always use a public folder to access project )

Problem

I wanted to try out the `Laravel 4.1` but unfortunately got stuck at the very beginning. When i try to install it using `composer` as mentioned in the `Laravel 4.1 documentation`, i get the following `error` while running `"composer create-project laravel/laravel laravelProject --prefer-dist":` `[Composer\Downloader\TransportException]` The "http://packagist.org/p/illuminate/filesystem$a5912ddb14272c0efa16e821a25bb68e39d3bac736aee7de62cb5641fd7133e3.json" file could not be downloaded: failed to open stream: `HTTP` request failed!

Original source

Related problems