title: Autoload and use simple HTML dom external librarie in Codeigniter 3.0.1
body: <p>I'm having problems with including / using external libraries in CodeIgniter 3.0. So this is what i did so far:</p>
  
  <p>I have placed simple_html_dom.php file in my application/libraries folder</p>
  
  <p><a href="https://i.stack.imgur.com/ptAgs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ptAgs.png" alt="Including file and auto loading it"></a></p>
  
  <p>Then i'm auto loading it with this line of code in </p>
  
  <pre><code>/*
  example of CI 
  $autoload['libraries'] = array('user_agent' =&gt; 'ua');
  */
  
  $autoload['libraries'] = array('simple_html_dom' =&gt; 'shd');
  </code></pre>
  
  <p>And this is my controller</p>
  
  <pre><code>public function index()
      {
          $html = $this-&gt;shd-&gt;str_get_html('&lt;html&gt;&lt;body&gt;Hello!&lt;/body&gt;&lt;/html&gt;');
          var_dump($html);
          die();
          $this-&gt;load-&gt;view('parser');
      }
  </code></pre>
  
  <p>Which provides me an error of:</p>
  
  <pre><code>A PHP Error was encountered
  Severity: Error
  Message: Call to undefined method simple_html_dom::str_get_html()
  Filename: controllers/Parser.php
  Line Number: 8
  </code></pre>
  
  <p>Documentation of simple_html_dom can be found on this <a href="http://simplehtmldom.sourceforge.net/manual.htm" rel="nofollow noreferrer">link</a></p>
  
  <p>To me it looks like librarie gets loaded, but i can't use its functions.
  I hope somebody can help. Thank you in advance!</p>