FPDF - PSR-4
FPDF is a PHP class which allows to generate PDF files with pure PHP. F from FPDF stands for Free: you may use it for any kind of usage and modify it to suit your needs.
Composer
Installation withUsing composer to install FPDF
composer require trollandtoad/fpdf