I share with you a simple program, thanking the Dompdf team : csvToPdf repository. / https://github.com/aselyamanis/csv-to-pdf
Firstly, csvToPdf use PHP to extract CSV data into HTML. Lastly, it use the Dompdf library to convert HTML to PDF.
Hope that can help someone!