0

In Laravel, I am trying to create a pdf file from an API response PDF data string. How can i create and save PDF in storage directory physically in Laravel.

Check the image below:

enter image description here

In this image i hit an API and got a response in variable data->labelDataPdf . I want to create a pdf file using this string value.

1 Answers1

-1

Try this package, it implements a popular PHP library (http://www.fpdf.org/) for pdf generation in Laravel

Braggae
  • 841
  • 4
  • 13
  • 29