There is no license information available for the latest version (1.4.3) of this package.

PDF Engine that helps to generate PDf easily.

1.4.3 2024-10-19 21:34 UTC

This package is auto-updated.

Last update: 2024-10-19 21:37:36 UTC


README

This library boost the speed for creating and defining pdf reports with defined structures. Look at down.

$pdf = new DPDF();
$pdf->AddPage();
$pdf->SetFont("Arial", "", 9);
//header
$pdf->Table(DPDF::Horizontal(['weight'=>100,'border'=>'B'],
   [
       DPDF::Cello(['text'=>'Id']),
       DPDF::Cello(['text'=>'Name']),
       DPDF::Cello(['text'=>'Age']),
       DPDF::Cello(['text'=>'Amount'])
   ]
  )
);
$pdf->Ln();

$pdf->Table(DPDF::Horizontal(['weight'=>100],
   [
       DPDF::Cello(['text'=>'1']),
       DPDF::Cello(['text'=>'JAN']),
       DPDF::Cello(['text'=>'10']),
       DPDF::Cello(['text'=>'$1010'])
   ]
  )
);


$pdf->Output(rand()."pdf.pdf",'F');

#Install via composer

composer require xarenisoft/dpdf