Export data using php and mysql in ionic 4

hello to everyone
I am using Ionic 4 with backend Php i want export my data in pdf using Php.

please refer some code to done

thanks :star_struck: