Fill Pdf form using php laravel

I’m trying to fill a pdf and save it using php. I’m also tried FPDF this script but its throws a error FPDF-Merge Error: Object streams are not supported. After I’m also tried php-pdftk package. I’m using ubuntu 20.04 so there no instruction to found install pdftk server for Ubuntu on there website. I’m install it using method 3 of this web site given Pdftk ubuntu install bleow is my code after configure pdftk