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.

  • GroupDocs.Parser Cloud for cURL
  • GroupDocs.Parser Cloud SDK for .NET
  • GroupDocs.Parser Cloud SDK for Java
  • GroupDocs.Parser Cloud SDK for Python
  • GroupDocs.Parser Cloud SDK for Ruby
  • GroupDocs.Parser Cloud SDK for Node.js
Start Free Trial

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.

Frequently Asked Questions

I want to create my own PHP application that can parse files online?

Check our Cloud SDKs for PHP at GitHub if you are looking for the source code to parse files in the Cloud.

Can I try GroupDocs.Parser REST APIs on PHP for free?

You can try GroupDocs.Parser Low-Code PHP APIs without any limitations.

I do not want to upload my confidential files anywhere? What are my options?

GroupDocs.Parser Cloud is also available as Docker image which can be used to self-host the service. Or you may build your own services using GroupDocs.Parser High-code APIs which currently drive both our Free Apps and REST APIs.

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 Document Types - PHP

require_once(__DIR__ . '/vendor/autoload.php');
//TODO: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is required).
$configuration = new GroupDocs\Parser\Configuration();
$configuration->setAppSid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
$configuration->setAppKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");

$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";
  PHP_EOL;
}
    ```

Extract images from Documents using GroupDocs.Parser Free App

PNGPPTMDEPUBODTMSGXLTMOTSDOCMCSVPPSMXMLXLAMZIPCHMPPTXPPTMONEBZ2TIFFXLTRARJP2DOTPOTTARPOTMHTMLODPRTFJPGPSTEMLXODSDOTMDOCXMHTMLDOCXLAEMLXHTMLTIFGZTXTPDFBMPXLSXXLSXLTXGIFPPSXLSBFB2OTPOSTOTTJPEGXLSMDOTXPPSXPOTX

Extract images from Documents using GroupDocs.Parser Free App

XLSODTRTFOTPJPEGCSVPOTXTIFEMLXPPSXLSMPPSMDOCPPTXXLTXXHTMLONEOTSHTMLBZ2XLSBDOTDOTXTIFFXMLXLAPOTMXLSXPOTPPTMXLTMPNGXLAMTARJP2EPUBDOCXODPMSGGIFZIPEMLXLTPPSXRAROTTGZOSTCHMFB2DOCMPPTJPGBMPPDFMDTXTPSTDOTMODSMHTML

Support and Learning Resources

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

  English
262a188