title: Laravel 4 - Class 'Stripe' not found
body: <p>I'm trying to install Stripe into my project but I'm having issues. I'm getting the error </p>
  
  <blockquote>
    <p>Class 'Stripe' not found</p>
  </blockquote>
  
  <p>I used </p>
  
  <blockquote>
    <p>composer require stripe/stripe-php</p>
  </blockquote>
  
  <p>and everything installed fine, but I'm still having issues. </p>
  
  <p>This is the line that is causing the problem:</p>
  
  <pre><code>Stripe::setApiKey(Config::get('stripe.secret_key'));
  </code></pre>
  
  <p>This is my composer.json file:</p>
  
  <pre><code>{
      "name": "laravel/laravel",
      "description": "The Laravel Framework.",
      "keywords": ["framework", "laravel"],
      "license": "MIT",
      "require": {
          "laravel/framework": "4.2.*",
          "intervention/image": "dev-master",
          "moltin/laravel-cart": "dev-master",
          "stripe/stripe-php": "~2.0@dev"
      },
      "autoload": {
          "classmap": [
              "app/commands",
              "app/controllers",
              "app/models",
              "app/libs",
              "app/database/migrations",
              "app/database/seeds",
              "app/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 artisan key:generate"
          ]
      },
      "config": {
          "preferred-install": "dist"
      },
      "minimum-stability": "dev",
      "prefer-stable": true
  }
  </code></pre>
  
  <p>There is nothing about Stripe in my app/config/app.php file... I'm not sure if there should be a service provider for Stripe.</p>