Document Parsing REST API & PHP Cloud SDK

Automate your document processing with GroupDocs.Parser. Extract data from documents by template. Process invoices, orders, reports and export data easily.

Start Free Trial
GroupDocs.Parser Cloud SDK for PHP

GroupDocs.Parser Cloud SDK for PHP


GroupDocs.Parser Cloud for PHP is a wrapper around document data extraction REST API to parse over 50 document types. Parsing documents with predefined templates is one of the most valuable features of GroupDocs.Parser Cloud API. It is very simple and easy to define templates and extract data from invoices or other kinds of typical documents.

The API provides methods to extract images, extract text and metadata from almost all of the most common file formats. Along with the regular documents, you can use the supported features on password protected files and containers like ZIP archives, OST/PST mail data files, eBooks, markups, and PDF portfolios in your PHP applications.

Previous Next

Document Parser REST API Features



Parse PDF, word processing documents, spreadsheets & presentations


Parse Microsoft Word, Excel, PowerPoint and OpenDocument template files


Parse Macro-Enabled document & templates for MS Word, Excel & PowerPoint


Extract text content from the whole document


Extract text and images from specific pages


Extract formatted text by setting extraction mode


Extract text from the documents in ZIP archives or Emails


Retrieve documents from Emails, PDF portfolios & MS Outlook storages


Get document page count and other information

Get Supported File Formats

Get Supported Document Types - PHP

require_once(__DIR__ . '/vendor/autoload.php');
//TODO: Get your AppSID and AppKey at (free registration is required).
$configuration = new GroupDocs\Parser\Configuration();

$infoApi = new GroupDocs\Parser\InfoApi($configuration); 
try {
    $response = $infoApi->getSupportedFileFormats();

    foreach ($response->getFormats() as $key => $format) {
        echo $format->getFileFormat() . " - " .  $format->getExtension(), "\n";
} catch (Exception $e) {
    echo  "Something went wrong: ",  $e->getMessage(), "\n";

Support and Learning Resources


GroupDocs.Parser Cloud also offers individual document parser SDKs for other popular languages as listed below: