title: Laravel 5 - Install TwitterOAuth library by Abraham
body: <p>I am trying to install abraham's twitteroauth library (<a href="https://github.com/abraham/twitteroauth" rel="nofollow">https://github.com/abraham/twitteroauth</a>) in laravel 5  using composer. Added the project in composer.json like this</p>
  
  <pre><code>"require": {
      "laravel/framework": "5.0.*",
      "php": "&gt;=5.4.0",
      "abraham/twitteroauth": "0.5.2"
  },
  </code></pre>
  
  <p>when i run composer update I receive an error at the end</p>
  
  <pre><code>- Installing abraham/twitteroauth (0.5.2)
    Loading from cache
  
  Writing lock file
  Generating autoload files
  
  [Symfony\Component\Debug\Exception\FatalErrorException]
  Call to undefined method Illuminate\Foundation\Application::getCachedCompilePath()
  
  Script php artisan clear-compiled handling the post-update-cmd event returned with an error
  
  [RuntimeException]
  Error Output:
  
  update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]
  </code></pre>
  
  <p>any help is Welcome</p>