title: integrate FPDF in codeIgniter 4: library and controllers
body: <p>I want use fpdf in my project CI4..
  how i can do this step by step?
  How include it as thirdparty?!</p>
  <pre><code>&lt;?php namespace App\Controllers\Purchase;
  
       namespace App\ThirdParty\fpdf;
  
       use CodeIgniter\Controller;
  
       use FPDF;
  ?&gt;
  </code></pre>
  <p>and how build the controller to call fpdf methods?!</p>
  <pre><code>$pdf = new PDF();
     $pdf-&gt;AddPage();
  </code></pre>
  <p>thanks</p>