title: Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Authy_Api' not found
body: <pre><code>{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Class 'Authy_Api' not found","file":"\/home\/vagrant\/Code\/curve\/app\/controllers\/UsersController.php","line":9}}
  </code></pre>
  
  <p>I added <code>"authy-php": "2.*"</code> to my composer.json file under <code>"laravel/framework": "4.2.*"</code></p>
  
  <p>In my controller I instantiate it like so:</p>
  
  <pre><code>private $authy;
  
  public function __construct()
  {
      $this-&gt;authy = new Authy_Api(Config::get('authy.authy'));
  }
  </code></pre>
  
  <p>I ran <code>composer update</code> and <code>composer dump-autoload</code> and neither of the two solved my problem.</p>
  
  <p>I also tried to do the top 10 google search results none of which fixed the problem.</p>
  
  <p>Why is it not recognizing the class from the package?</p>