title: Error when trying to use the class using php
body: <p>I found the code from internet which help me to extract pdf files to text.
  this is the code that i have used.</p>
  
  <pre><code>&lt;?php
  
  // Include Composer autoloader if not already done.
  //include 'vendor/autoload.php';
  
   // Parse pdf file and build necessary objects.
   $parser = new \Smalot\PdfParser\Parser();
   $pdf    = $parser-&gt;parseFile('document.pdf');
  
  $text = $pdf-&gt;getText();
  echo $text;
  
  ?&gt;
  </code></pre>
  
  <p>when i use this method to call the relevant class it gives an error on the browser.</p>
  
  <pre><code>Fatal error: Class 'Smalot\PdfParser\Parser' not found in D:\workspace_PHP\pdfparser-master\index.php on line 7
  </code></pre>
  
  <p>i am using php version 5.4
  if anyone can tell me the reason, it will be great help.</p>
  
  <p>Thanks in advance</p>