What library is used for pdf in PHP?

Name of the pdf library is used in PHP

Team Leader Asked on October 13, 2017 in PHP.
Add Comment
1 Answer(s)

    FPDF is a PHP class which allow you to generate PDF files.

     

    <?php
    require(‘fpdf_lib/fpdf.php’);
    $pdf = new FPDF();
    $pdf->AddPage();
    $pdf->SetFont(‘Arial’,’B’,16);
    $pdf->Cell(40,10,’Hi Aviance Users!’);
    $pdf->Output();

    ?>

    Team Leader Answered on November 16, 2017.
    Add Comment

    Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.