PHP SDK for HTML Files Manipulation, Translation & Transformation

Integrate HTML Processing & Manipulation features into your PHP Apps via Cloud SDK to translate & convert to raster images, & PDF etc.

  Start Free Trial
Aspose.HTML Cloud SDK for PHP

Aspose.HTMLCloud SDK for PHP


No software download or Install required. Aspose.HTML Cloud SDK for PHP is developed on top of Cloud REST API and enables you to perform a wide range of file processing operations including creation, manipulation, conversion and rendering of HTML files in the cloud. This HTML Cloud SDK supports document conversion to fixed layout document formats such as PDF, XPS or to raster image formats including JPEG, PNG, BMP or TIFF. For conversion operation, you may either choose to render a complete file or select few pages and perform the conversion.


Advanced HTML Processing Features



Create HTML pages from scratch


Load HTML from existing file


Get HTML fragments using XPath queries


Render HTML to raster Images


Convert HTML to PDF or XPS & Convert HTML page to MHTML via URL


Translate HTML text content & Extract HTML Images


Download HTML page and its linked resources as a ZIP archive


PHP wrapper around Cloud API


Secured and requires authentication

HTML to Fixed-Layout Format Conversion

Aspose.HTML Cloud provides the capabilities to create or load HTML files, and render the output in PDF or XPS.

The conversion process is highly customizable and depends upon the values of URL parameters i.e. the sourceUrl and outPath. If sourceUrl parameter is specified, it can contain absolute web URL, which means an HTML page from web, or if its a relative URL, it indicates that the cloud-stored HTML document. Else the source document is passed as the request content stream. If outPath parameter is specified, the resulting document will be saved in the cloud storage by specified path and name and if its not specified, the result will be returned as the response content stream.

During all conversion operations, Aspose.HTML Cloud SDK for PHP ensures that the converted files are generated according to target file's standards and specifications, so that the resultant file can easily be loaded within their native applications.

Extract Images from HTML Document

Aspose.HTML Cloud SDK for PHP enables you to Extract all images from the HTML document. They will be returned in the response content stream as a zipped package of image files.

Manipulate HTML Nodes

Aspose.HTML Cloud SDK for PHP provides the feature to navigate through the HTML document either by elements, document or XPath selector queries, and insert, remove, replace HTML nodes on the go.

Render HTML to Raster Image Formats

Aspose.HTML Cloud SDK for PHP offers high fidelity rendering engine at its core which can convert HTML pages to most commonly used raster image formats including TIFF, BMP, PNG & JPEG without requiring any additional software or tool.

Translate HTML Page

Aspose.HTML Cloud SDK for PHP provides a unique feature to translate the text content of HTML document to other languages simultaneously (currently English to German, French & Russian translation is supported).


Support and Learning Resources