Php – How rotate a pdf document using php

pdfphp

How can I rotate a pdf document using php and linux?

Best Solution

Rotate an Entire PDF Document's Pages to 180 Degrees

 $command = "pdftk in.pdf cat 1-endS output out.pdf";
 system($command);