title: Can't install Laravel from my source vendor/autoload.php is not generated for some reason
body: <p>I want to create another environment of my project so i decided to do it via source control and not just copy paste of the source files.</p>
  
  <p>So what i did is <code>git clone...</code><br>
  cd to the app folder<br>
  run <code>composer install</code>  </p>
  
  <p>the install threw an exception: 
  <code>
  [RuntimeException]
    Could not scan for classes inside "vendor/autoload.php" which does not appear to be a file nor a folder
  </code></p>
  
  <p>As far as I know, this <code>vendor/autoload.php</code> file supposed to be generated by the <code>composer install</code> command. composer update or -no-scripts gave the same result...</p>
  
  <p>this is my composer.json:</p>
  
  <pre><code>{
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "type": "project",
      "require": {
          "php": "&gt;=5.5.9",
          "laravel/framework": "5.2.*",
          "torann/geoip": "0.2.*@dev"
      },
      "require-dev": {
          "fzaninotto/faker": "~1.4",
          "mockery/mockery": "0.9.*",
          "phpunit/phpunit": "~4.0",
          "symfony/css-selector": "2.8.*|3.0.*",
          "symfony/dom-crawler": "2.8.*|3.0.*"
      },
      "autoload": {
          "classmap": [
              "database",
              "app/Facades",
              "app/Services",
              "vendor/autoload.php"
          ],
          "psr-4": {
              "App\\": "app/"
          }
      },
      "autoload-dev": {
          "classmap": [
              "tests/TestCase.php"
          ]
      },
      "scripts": {
          "post-root-package-install": [
              "php -r \"copy('.env.example', '.env');\""
          ],
          "post-create-project-cmd": [
              "php artisan key:generate"
          ],
          "post-install-cmd": [
              "Illuminate\\Foundation\\ComposerScripts::postInstall",
              "php artisan optimize"
          ],
          "post-update-cmd": [
              "Illuminate\\Foundation\\ComposerScripts::postUpdate",
              "php artisan optimize"
          ]
      },
      "config": {
          "preferred-install": "dist"
      }
  }
  </code></pre>