title: Undefined method with Composer library and CodeIgniter
body: <p>I'm working on a project and it's getting a little too hard for me...
  I explain.</p>
  
  <p>I need to parse PDF files with PHP, to analyse the content of those files. To do that, I use <a href="http://pdfparser.org" rel="nofollow noreferrer">pdfparser.org</a> library.
  I firstly tried to include this library as usually, without any result.
  After having read all the Internet, since this library requires Composer to be installed (and on my web hosting I can't get Composer installed), I have applied the Composer process on my Windows PC. I got the "vendor" folder with the "autoload.php" file. Fine !!</p>
  
  <p>Then, I have tried to include it properly in CodeIgniter. The solution I chose is :</p>
  
  <ol>
  <li><p>Creating a file "Pdfparser.php" in application/libraries/</p>
  
  <pre><code>class Pdfparser
  {
      public function __construct()
      {
          require_once APPPATH."/third_party/pdfparser.php";
      }
  }
  </code></pre></li>
  <li><p>Then, I add the PdfParser "Composer" application in application/third_party/, and in the /third_party/pdfparser.php I simply put :</p>
  
  <pre><code>if (!defined('pdfparser')) {
      define('pdfparser', dirname(__FILE__) . '/');
      require(pdfparser . 'pdfparser/autoload.php');
  }
  </code></pre></li>
  <li><p>Then, I add this library to CodeIgniter /application/config/autoload.php as :</p>
  
  <pre><code>$autoload['libraries'] = array('pagination', 'form_validation','email','upload','pdfparser');
  </code></pre></li>
  <li><p>Finally, I call it in my function in application/controllers/Admin.php :</p>
  
  <pre><code>$parser = new Pdfparser();
          $pdf    = $parser-&gt;parseFile(myfile.pdf);
          $full_text = $pdf-&gt;getText();
  </code></pre>
  
  <p>(This 4. block of code is directly taken from official Documentation here : <a href="http://www.pdfparser.org/documentation" rel="nofollow noreferrer">http://www.pdfparser.org/documentation</a>, and just adapted).</p></li>
  <li><p>But now, I break the Internet... I have this error :</p>
  
  <pre><code>PHP Fatal error:  Call to undefined method PdfParser::parseFile() in /path/application/controllers/Admin.php on line 3083
  </code></pre></li>
  <li><p>After having looked CodeIgniter documentation, I try to add the Composer autoloader to the core... in application/config/autoload.php I put :</p>
  
  <pre><code>$config['composer_autoload'] = APPPATH . "/third_party/pdfparser/autoload.php";
  </code></pre></li>
  <li><p>Of course, it doest not work. And I'm lost...</p></li>
  </ol>