Compare Documents via PHP Cloud SDK

Build content comparison applications with PHP Cloud SDK for comparison REST API. Compare, find differences, accept or reject changes in files of popular formats.

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

Get started using GroupDocs.Comparison Cloud API features in your PHP applications with the help of our GroupDocs.Comparison Cloud SDK for PHP. It provides a one-stop-shop solution for comparing documents in all common business formats. Supported file types include PDF, Microsoft Word documents, Excel spreadsheets, PowerPoint presentations, plain text, and others.

Advanced Document Comparison REST API Features

Multiple file formats support

Cross-platform compatibility

Retrieve compared documents

Accurate content comparison

Accept or reject retrieved changes

Get Changes from Compared Documents

Using GroupDocs.Comparison Cloud API, you can compare documents and get the list of changes, with just a few lines of code.

Get changes from compared documents - PHP

//Get your AppSID and AppKey at (free registration is required).
  $configuration = new Configuration();
  $apiInstance = new ChangesApi($configuration);
  $comparisonRequest = new ComparisonRequest($sourceFile,$targetFiles,$settings,$changes);
  $request = new PostCategoriesChangesRequest($comparisonRequest,$categoriesType);
  $response = $apiInstance->postCategoriesChanges($request);

Accurate Content Comparison

Irrespective of the file format, GroupDocs.Comparison Cloud API is able to identify changes in literally all document elements, including texts, lines, boxes, margins, etc. This allows users to get complete details of all changes made to the document: texts, font types and styles, page headers, footers, and overall layout – all are precisely analyzed and reported when differences are found.

Advanced Document Handling

GroupDocs.Comparison Cloud provides two main resources (Document and Changes) which allows retrieving compared documents (as file or array of images) or its changes. Also, it provides the ability to update (accept or reject) retrieved changes.

SDK Benefits

GroupDocs.Comparison Cloud API is completely independent of your operating system, database system or development language. You can use any language and platform that supports HTTP to interact with our API. However, manually writing client code can be difficult, error-prone and time-consuming. Therefore, we have provided and support API SDKs in many development languages in order to make it easier to integrate with us. If you use SDK, it hides the REST API calls and lets you use GroupDocs.Comparison Cloud API features in a native way for your preferred language.

Support and Learning Resources

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