Install php-fpdf by entering the following commands in the terminal:
sudo apt update sudo apt install php-fpdf
Description:
PHP class to generate PDF files
FPDF is a PHP class that allow generating PDF files with pure PHP, that is to say without using the PDFlib library. FPDF provides high-level functions and has the following main features: . - Choice of measure unit, page format, and margins - Page header and footer management - Automatic page break - Automatic line break and text justification - Image support (JPEG and PNG) - Colors - Links - TrueType, Type1, and encoding support - Page compression
Homepage: http://www.fpdf.org/
Version: 3:1.8.1.dfsg-2
Section: universe/web