installing laravel via composer InvalidArgumentException

composer-php, laravel-4, php, xampp

Solution

Finally I found the answer and it was all about the problem between composer and my proxy setting that caused the problem.

I've explained the problem and solution in composer self-update TransportException

After that fix composer installed laravel 4 completely and without any problem.

Thanks everybody

Problem

I want to install laravel 4.x and as you know I must use composer. I've tried: `composer create-project laravel/laravel d:\xampp\htdocs\laravel` ``` [InvalidArgumentException] Could not find package laravel/laravel with stability stable. create-project [-s|--stability="..."] [--prefer-source] [--prefer-dist] [--repository-url="..."] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-scripts] [--no-progress] [--keep-vcs][--no-install] [package] [directory] [version] ``` I've downloaded laravel from github repo and then tried this one: `composer install` and this time I got: ``` Loading composer repositories with package information Installing dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - The requested package laravel/framework could not be found in any version, there may be a typo in the package name. Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details. Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems. ``` I'm Using: ``` Apache 2.4.7 PHP 5.5.6 ``` installed by `xampp-win32-1.8.3-1-VC11` on win8 64bit please help me Thanks

Original source