aspose / pdf-sdk-php
Aspose.PDF Cloud is a REST API for creating and editing PDF files. It can also be used to convert PDF files to different formats like DOC, HTML, XPS, TIFF and many more. Aspose.PDF Cloud gives you control: create PDFs from scratch or from HTML, XML, template, database, XPS or an image. Render PDFs t
Installs: 18 701
Dependents: 0
Suggesters: 0
Security: 0
Stars: 9
Watchers: 5
Forks: 4
Open Issues: 1
Requires
- php: >=5.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.4
Requires (Dev)
- dev-master
- 24.11.0
- 24.10.0
- 24.9.0
- 24.8.0
- 24.7.0
- 24.6.0
- 24.5.0
- 24.4.0
- 24.3.0
- 24.2.0
- 24.1.0
- 23.12.0
- 23.11.0
- 23.10.0
- 23.9.0
- 23.8.0
- 23.7.0
- 23.6.0
- 23.5.0
- 23.4.0
- 23.3.0
- 23.2.0
- 23.1.0
- 22.12.0
- 22.11.0
- 22.10.0
- 22.9.0
- 22.8.0
- 22.7.0
- 22.5.0
- 22.4.0
- 22.3.0
- 22.2.0
- 22.1.1
- 22.1.0
- 21.12.0
- 21.11.0
- 21.10.0
- 21.9.0
- 20.12.0
- 20.9.0
- 20.8.0
- 20.7.0
- 20.6.0
- 20.5.0
- 20.4.0
- 20.2.0
- 20.1.0
- 19.12.0
- 19.11.0
- 19.10.0
- 19.9.0
- 19.8.0
- 19.7.0
- 19.6.0
- 19.5.0
- 19.4.0
- 19.3.0
- 19.2.0
- 19.1.0
- 18.11.0
- 18.10.0
- 18.9.0
- 18.7.0
- 18.6.0
- 18.5.0
- 18.4.0
- 18.3.0
- 18.2.0
- 2.0.0
- dev-develop
- dev-dependabot/composer/guzzlehttp/psr7-2.6.2
This package is not auto-updated.
Last update: 2024-11-22 08:17:44 UTC
README
PHP REST API to Process PDF in Cloud
Aspose.PDF Cloud is a true REST API that enables you to perform a wide range of document processing operations including creation, manipulation, conversion and rendering of PDF documents in the cloud.
Our Cloud SDKs are wrappers around REST API in various programming languages, allowing you to process documents in language of your choice quickly and easily, gaining all benefits of strong types and IDE highlights. This repository contains new generation SDKs for Aspose.PDF Cloud and examples.
These SDKs are now fully supported. If you have any questions, see any bugs or have enhancement request, feel free to reach out to us at Free Support Forums.
Extract Text & Images of a PDF document online https://products.aspose.app/pdf/parser.
PDF Processing Features
- Add PDF document's header & footer in text or image format.
- Add tables & stamps (text or image) to PDF documents.
- Append multiple PDF documents to an existing file.
- Work with PDF attachments, annotations, & form fields.
- Apply encryption or decryption to PDF documents & set a password.
- Delete all stamps & tables from a page or entire PDF document.
- Delete a specific stamp or table from the PDF document by its ID.
- Replace single or multiple instances of text on a PDF page or from the entire document.
- Extensive support for converting PDF documents to various other file formats.
- Extract various elements of PDF files & make PDF documents optimized.
Read & Write PDF Formats
PDF, EPUB, HTML, TeX, SVG, XML, XPS, FDF, XFDF
Save PDF As
XLS, XLSX, PPTX, DOC, DOCX, MobiXML, JPEG, EMF, PNG, BMP, GIF, TIFF, Text
Read PDF Formats
MHT, PCL, PS, XSLFO, MD
Enhancements in Version 24.11
- Add DocRecognitionMode EnhancedFlow mode.
- A new version of Aspose.PDF Cloud was prepared using the latest version of Aspose.PDF for .NET.
Requirements
PHP 7.4 and later.
Unit Tests
Aspose PDF SDK includes a suite of unit tests within the "tests" subdirectory. These Unit Tests also serves as examples of how to use the Aspose PDF SDK.
To run the unit tests:
composer install
./vendor/bin/phpunit
Get PDF Page Annotations in PHP
// Get your ClientId and ClientSecret from https://dashboard.aspose.cloud (free registration required). $config = new Configuration(); $config->setAppSid('MY_CLIENT_ID'); $config->setAppKey('MY_CLIENT_SECRET'); $pdfApi = new PdfApi(null, $config); $name = 'PdfWithAnnotations.pdf'; $pageNumber = 2; $response = $pdfApi->getPageAnnotations($name, $pageNumber, null, "tempFolder");
SelfHost Aspose.PDF Cloud
Create Configuration object without AppSid and AppKey, with SelfHost set to true
and with Host set to url of SelfHost Aspose.PDF Cloud:
$config->setSelfHost(true); $config->setHost('MY_SELF_HOST_URL');
Licensing
All Aspose.PDF Cloud SDKs are licensed under MIT License.