title: Using SimplePie feed parser in Laravel
body: <p>I tried to use the SimplePie feed parser in Laravel. I pushed autoloader.php and library folder of SimplePie in the Laravel libraries folder, then I added a map for SimplePie in start.php </p>
  
  <p>// folder tree</p>
  
  <ul>
  <li>libraries/  
  
  <ul>
  <li>simple/
  
  <ul>
  <li>library/
  
  <ul>
  <li>SimplePie/</li>
  <li>SimplePie.php</li>
  </ul></li>
  <li>autoloader.php</li>
  </ul></li>
  </ul></li>
  </ul>
  
  <p>// start.php map</p>
  
  <pre><code>Autoloader::map(array(
  'Base_Controller' =&gt; path('app').'controllers/base.php',
  'SimplePie'     =&gt; path('app').'libraries/simple/autoloader.php',
  ));
  </code></pre>
  
  <p>// new object of simplepie</p>
  
  <pre><code>$feed = new SimplePie();
  $feed-&gt;set_feed_url($feed_url);
  $feed-&gt;enable_cache(false);
  $feed-&gt;set_output_encoding('utf-8');
  </code></pre>
  
  <p>When I create a new object from SimplePie I see this error: </p>
  
  <p>Message:</p>
  
  <p>Autoloader not registered properly</p>