title: Class 'Mpdf\Mpdf' not found
body: <p>I am using mpdf 8.1 with yii2 and php version is 5.6.40 for pdf report download. It's works fine in local environment. But class mpdf is not found in live server with same php version.</p>
  
  <p>mpdf library is uploaded in vendor directory and path is vendor/mpdf/mpdf. And I'm using like these,</p>
  
  <pre><code>use Mpdf\Mpdf;
  class ReportController extends Controller
  {
      public function actionPdfUsageReport()
      {
            $content = "&lt;div&gt;Hello&lt;/div&gt;";
            $marginValue = PdfSettings::GetTabularReportMarginSetting();
            $pdf = new Mpdf($marginValue);
            $stylesheet = file_get_contents(Yii::getAlias('@webroot') . "/css/mpdfstyletables.css");
            $pdf-&gt;WriteHTML($stylesheet, 1);
            $pdf-&gt;SetProtection(array('print'));
            $pdf-&gt;SetTitle("Title");
            $pdf-&gt;SetAuthor("Author.");
            $pdf-&gt;SetDisplayMode('fullpage');
            $pdf-&gt;WriteHTML($content);
            return $pdf-&gt;Output('Usage Summary.pdf', 'I');
      }
  }
  
  </code></pre>
  
  <p>System information
  Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/5.6.40</p>