title: Cannot redeclare class error in Laravel but works fine in native php
body: <p>I am using Alchemy API for filter out some data. Everything works fine in the native code. But when i used it in my Laravel Controller it throws Cannot redeclare class. <code>My controller,alchemyapi.php and example.php</code> are in the same directory. Here is how i include <code>alchemyapi.php</code> in native code </p>
  
  <pre><code>&lt;?php   
  
  require_once 'alchemyapi.php';
  $alchemyapi = new AlchemyAPI("MY API KEY"); ?&gt;
  </code></pre>
  
  <p>But when i include it in the controller it throws my the error. is there something i am missing ? </p>
  
  <pre><code>require_once 'alchemyapi.php';
  $alchemyapi = new AlchemyAPI("MY API KEY");
  </code></pre>
  
  <p>The native code(<code>example.php</code>) works well without any issue. But in laravel controller it throws a error saying <code>Cannot redeclare class AlchemyAPI
  in alchemyapi.php line 20</code></p>