Download the PHP package aspose/pdf without Composer
On this page you can find all versions of the php package aspose/pdf. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package pdf
Short Description A powerful library for manipulating and converting PDF files.
License proprietary
Homepage https://products.aspose.com/pdf/php-java
Informations about the package pdf
PHP Library for PDF File Formats
Aspose.PDF for PHP via Java is a feature-rich API to allow developers to create PDF documents, whether simple or complex, on the fly programmatically. Aspose.PDF for Java allows developers to insert tables, graphs, images, hyperlinks, custom fonts - and more - into PDF documents. Moreover, it is also possible to compress PDF documents. Aspose.PDF for Java provides excellent security features to develop secure PDF documents. And the most distinct feature of Aspose.PDF for Java is that it supports the creation of PDF documents through both an API and from XML templates
PHP PDF Library Features
PDF Document Featres
- Set basic information (e.g. author, creator) of the PDF document.
- Configure PDF Page properties (e.g. width, height, cropbox, bleedbox etc.).
- Set page numbering, bookmark level, page sizes etc.
- Apply document open action, open mode as well as appearance.
- Document can have different page transition effects such as dissolve or box.
- Create PDF documents via
XML
,API
orXML
andAPI
combined. - Ability to work with text, paragraphs, headings, hyperlinks, graphs, attachments etc.
Security Features
- PDF documents can be encrypted up to 128 bits.
- Master and user passwords can be set for PDF encryption.
- Apply rescriptions on content modification, copying, printing and other operations.
Conversion Features
- Convert an existing XML file (
.XML
) orXmlDocument
to a new PDF document or a PDF file stream. - Convert conventional Image formats into PDF file.
- Convert
PCL
files into PDF file.
For a more comprehensive list of features, please visit Key Features of Aspose.PDF.
Getting Started with Aspose.PDF for PHP via Java
Aspose.PDF for PHP via Java consists of 2 individual parts, the script wrapper (aspose.pdf.php) and Aspose.PDF for Java. These components communicate via PHP/Java Bridge whereas both require separate environments & processes for execution.
Prerequisites
- JDK
- PHP/Java Bridge
- Web Server like Tomcat
- PHP
Installation
- Install Tomcat on any location such as
\java\apache-tomcat-9.0.24
. - Copy JavaBridge.war to
webapps
folder of Tomcat such as\java\apache-tomcat-9.0.24\webapps
. - Copy aspose-pdf-xx.x.jar to
lib
folder such as\java\apache-tomcat-9.0.24\lib
. - Run
\bin\startup.bat
, JavaBridge.war will be deployed to\java\apache-tomcat-9.0.24\webapps\JavaBridge
. - Test http://localhost:8080/JavaBridge/test.php to ensure that PHP works fine.
- Copy aspose.pdf.php and example.php to
\java\apache-tomcat-9.0.24\webapps\JavaBridge
. - Open http://localhost:8080/JavaBridge/example.php or create your own PHP file as follows.
You will find the Jar and PHP library in vendor/aspose/pdf
folder.
Create Excel XLSX File from Scratch using PHP
Product Page | Documentation | API Reference | Code Examples | Blog | Free Support | Temporary License