title: Laravel: Class 'GuzzleHttp\Client' not found
body: <p>I am trying to use Mandrill to send emails via my Laravel framework, however I am receiving the following error:</p>
  
  <blockquote>
    <p>FatalErrorException in MandrillTransport.php line 114: Class
    'GuzzleHttp\Client' not found</p>
  </blockquote>
  
  <p>I have installed Guzzle using the following command in Terminal:</p>
  
  <pre><code>"guzzlehttp/guzzle": "~4.0"
  </code></pre>
  
  <p>According to Laravel's documentation I need to add <code>"guzzlehttp/guzzle": "~4.0"</code> to my composer.json file, but I'm not sure if where I have placed it is correct as I still see the error.</p>
  
  <pre><code>{
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "type": "project",
      "require": {
          "laravel/framework": "5.0.*",
          "illuminate/html": "^5.0",
          "guzzlehttp/guzzle": "~4.0"
      },
      "require-dev": {
          "phpunit/phpunit": "~4.0",
          "phpspec/phpspec": "~2.1"
      },
      "autoload": {
          "classmap": [
              "database"
          ],
          "psr-4": {
              "App\\": "app/"
          }
      },
      "autoload-dev": {
          "classmap": [
              "tests/TestCase.php"
          ]
      },
      "scripts": {
          "post-install-cmd": [
              "php artisan clear-compiled",
              "php artisan optimize"
          ],
          "post-update-cmd": [
              "php artisan clear-compiled",
              "php artisan optimize"
          ],
          "post-create-project-cmd": [
              "php -r \"copy('.env.example', '.env');\"",
              "php artisan key:generate"
          ]
      },
      "config": {
          "preferred-install": "dist"
      }
  }
  </code></pre>
  
  <p>Here is the list of packages my application has, notice that guzzle has a different version: 4.2.3 which i've also tried updating to but still get the same error.
  <img src="https://i.stack.imgur.com/QDkPF.png" alt="list of packages installed"></p>