DOMPDF with CODEIGNITER
<p>I am trying to get dompdf working with codeigniter, I download the file from here <a href="https://github.com/dompdf/dompdf/releases" rel="nofollow">https://github.com/dompdf/dompdf/releases</a> the version was 0.7.0 and then I put inside my controller a piece of code like this </p>

<pre><code>public function generatepdf(){

        $this-&gt;load-&gt;helper('file');
        require_once(APPPATH.'third_party/dompdf/autoload.inc.php');

         $domdpf = new DOMPDF();
         $domdpf -&gt; loadHtml('&lt;h1&gt;HELLO WORLD&lt;/h1&gt;');
         $domdpf -&gt; setPaper('A4','Landscape');
         $domdpf -&gt;render();

         $domdpf-&gt;stream();


    }
</code></pre>

<p>But I am getting a error saying 
<code>Fatal error: Class 'DOMPDF' not found in C:\Apache24\htdocs\faceloan\faceloan\application\controllers\moneyexchange.php on line 2495</code></p>