Add Footer to PDF using PHP
Add Footer to PDF File using PHP via Java.
Add Footers to PDF Document Using PHP
In order to add footers into PDF file, we’ll use Aspose.PDF for PHP via Java API which is a feature-rich, powerful and easy-to-use document manipulation tool in php-java. Install Tomcat 9.0 version on any location, add Aspose.PDF.war, for more details check the GitHub page.
Steps to add Footer to PDF using PHP
You need Aspose.PDF for PHP via Java to try the code in your environment.
- Open a PDF document using Document object.
- Create a Stamp and define its properties.
- Add the Stamp to Page using AddStamp method.
- Save the PDF file.