cloudmersive / cloudmersive_document_convert_api_client
Installs: 27 489
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 1
Forks: 5
Open Issues: 7
Requires
- php: >=7.2.5
- ext-curl: *
- ext-json: *
- ext-mbstring: *
- guzzlehttp/guzzle: ^7.5
Requires (Dev)
- friendsofphp/php-cs-fixer: ~2.12
- phpunit/phpunit: ^4.8
- squizlabs/php_codesniffer: ~2.6
- dev-master
- 3.2.0
- 3.1.1
- 3.0.1
- 2.1.7
- 2.1.6
- 2.1.5
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1.0
- 2.0.9
- 2.0.8
- 2.0.7
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 1.9.9
- 1.9.8
- 1.9.7
- 1.9.6
- 1.9.5
- 1.9.4
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.9
- 1.8.8
- 1.8.7
- 1.8.6
- 1.8.5
- 1.8.4
- 1.8.3
- 1.8.0
- 1.7.9
- 1.7.8
- 1.7.7
- 1.7.6
- 1.7.5
- 1.7.4
- 1.7.3
- 1.7.2
- 1.7.1
- 1.7.0
- 1.6.9
- 1.6.8
- 1.6.7
- 1.6.6
- 1.6.5
- 1.6.4
- 1.6.3
- 1.6.2
- 1.6.1
- 1.6.0
- 1.5.9
- 1.5.8
- 1.5.7
- 1.5.6
- 1.5.5
- 1.5.4
- 1.5.3
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.3.9
- 1.3.7
- 1.3.6
- 1.3.5
- dev-dependabot/composer/guzzlehttp/psr7-1.9.1
- dev-dependabot/composer/guzzlehttp/guzzle-6.5.8
This package is not auto-updated.
Last update: 2024-09-30 08:12:47 UTC
README
Convert API lets you effortlessly convert file formats and types.
Cloudmersive Document and Data Conversion API provides advanced document conversion, editing and generation capabilities.
- API version: v1
- Package version: 3.2.0
Requirements
PHP 5.5 and later
Installation & Usage
Composer
To install the bindings via Composer, add the following to composer.json
:
{
"repositories": [
{
"type": "git",
"url": "https://github.com/cloudmersive/cloudmersive_document_convert_api_client.git"
}
],
"require": {
"cloudmersive/cloudmersive_document_convert_api_client": "*@dev"
}
}
Then run composer install
Manual Installation
Download the files and include autoload.php
:
require_once('/path/to/cloudmersive_document_convert_api_client/vendor/autoload.php');
Tests
To run the unit tests:
composer install
./vendor/bin/phpunit
Getting Started
Please follow the installation procedure and then run the following:
<?php require_once(__DIR__ . '/vendor/autoload.php'); // Configure API key authorization: Apikey $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY'); // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed // $config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Apikey', 'Bearer'); $apiInstance = new Swagger\Client\Api\CompareDocumentApi( // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`. // This is optional, `GuzzleHttp\Client` will be used as default. new GuzzleHttp\Client(), $config ); $input_file1 = "/path/to/file.txt"; // \SplFileObject | First input file to perform the operation on. $input_file2 = "/path/to/file.txt"; // \SplFileObject | Second input file to perform the operation on (more than 2 can be supplied). $autorepair = true; // bool | Optional; automatically repair input documents that have errors (default is true) try { $result = $apiInstance->compareDocumentDocx($input_file1, $input_file2, $autorepair); print_r($result); } catch (Exception $e) { echo 'Exception when calling CompareDocumentApi->compareDocumentDocx: ', $e->getMessage(), PHP_EOL; } ?>
Documentation for API Endpoints
All URIs are relative to https://api.cloudmersive.com
Documentation For Models
- AddPdfAnnotationRequest
- AlternateFileFormatCandidate
- AppendXlsxRowRequest
- AppendXlsxRowResponse
- AutodetectDocumentValidationResult
- AutodetectGetInfoResult
- AutodetectToJpgResult
- AutodetectToPngResult
- AutodetectToThumbnailsResult
- Base64DecodeRequest
- Base64DecodeResponse
- Base64DetectRequest
- Base64DetectResponse
- Base64EncodeRequest
- Base64EncodeResponse
- ChangeLineEndingResponse
- ClearXlsxCellRequest
- ClearXlsxCellResponse
- ClearXlsxRowRequest
- ClearXlsxRowResponse
- ConvertDocumentBatchJobCreateResult
- ConvertDocumentJobStatusResult
- ConvertedJpgPage
- ConvertedPngDirectPage
- ConvertedPngPage
- CreateBlankDocxRequest
- CreateBlankDocxResponse
- CreateBlankSpreadsheetRequest
- CreateBlankSpreadsheetResponse
- CreateSpreadsheetFromDataRequest
- CreateSpreadsheetFromDataResponse
- CreateZipArchiveRequest
- CsvCollection
- CsvFileResult
- DeleteDocxTableRowRangeRequest
- DeleteDocxTableRowRangeResponse
- DeleteDocxTableRowRequest
- DeleteDocxTableRowResponse
- DetectLineEndingsResponse
- DisableSharedWorkbookRequest
- DisableSharedWorkbookResponse
- DocumentArrayInput
- DocumentEditingEditSession
- DocumentItem
- DocumentTransformEditSession
- DocumentValidationError
- DocumentValidationResult
- DocxBody
- DocxCellStyle
- DocxComment
- DocxContentControl
- DocxFooter
- DocxHeader
- DocxImage
- DocxInsertCommentOnParagraphRequest
- DocxInsertImageRequest
- DocxInsertImageResponse
- DocxMetadataCustomProperty
- DocxPage
- DocxParagraph
- DocxRemoveObjectRequest
- DocxRemoveObjectResponse
- DocxRun
- DocxSection
- DocxSetCustomMetadataPropertiesRequest
- DocxSetFooterAddPageNumberRequest
- DocxSetFooterRequest
- DocxSetFooterResponse
- DocxSetFormFieldsRequest
- DocxSetHeaderRequest
- DocxSetHeaderResponse
- DocxStyle
- DocxTable
- DocxTableCell
- DocxTableRow
- DocxTableSingleTableFill
- DocxTableTableFillMultiRequest
- DocxTableTableFillRequest
- DocxTableTableFillTableCell
- DocxTableTableFillTableRow
- DocxTemplateApplicationRequest
- DocxTemplateOperation
- DocxText
- DocxToJpgResult
- DocxToPngResult
- DocxTopLevelComment
- EditPdfBatchJobCreateResult
- EditPdfJobStatusResult
- EmlAttachment
- EmlToHtmlResult
- EmlToJpgResult
- EmlToPngResult
- EnableSharedWorkbookRequest
- EnableSharedWorkbookResponse
- ExifValue
- FillHandlebarFormField
- FindDocxParagraphRequest
- FindDocxParagraphResponse
- FindRegexMatch
- FindStringMatch
- FindStringRegexRequest
- FindStringRegexResponse
- FindStringSimpleRequest
- FindStringSimpleResponse
- FinishEditingRequest
- GetDocxBodyRequest
- GetDocxBodyResponse
- GetDocxCommentsHierarchicalResponse
- GetDocxCommentsResponse
- GetDocxContentControlsResponse
- GetDocxGetCommentsHierarchicalRequest
- GetDocxGetCommentsRequest
- GetDocxGetFormFieldsResponse
- GetDocxHeadersAndFootersRequest
- GetDocxHeadersAndFootersResponse
- GetDocxImagesRequest
- GetDocxImagesResponse
- GetDocxMetadataPropertiesResponse
- GetDocxPagesRequest
- GetDocxPagesResponse
- GetDocxSectionsRequest
- GetDocxSectionsResponse
- GetDocxStylesRequest
- GetDocxStylesResponse
- GetDocxTableByIndexRequest
- GetDocxTableByIndexResponse
- GetDocxTableRowRequest
- GetDocxTableRowResponse
- GetDocxTablesRequest
- GetDocxTablesResponse
- GetFileTypeIconResult
- GetImageInfoResult
- GetMacrosResponse
- GetPdfAnnotationsResult
- GetXlsxCellByIdentifierRequest
- GetXlsxCellByIdentifierResponse
- GetXlsxCellRequest
- GetXlsxCellResponse
- GetXlsxColumnsRequest
- GetXlsxColumnsResponse
- GetXlsxImagesRequest
- GetXlsxImagesResponse
- GetXlsxRowsAndCellsRequest
- GetXlsxRowsAndCellsResponse
- GetXlsxSpecificRowRequest
- GetXlsxSpecificRowResponse
- GetXlsxStylesRequest
- GetXlsxStylesResponse
- GetXlsxWorksheetsRequest
- GetXlsxWorksheetsResponse
- HandlebarFormField
- HtmlGetLanguageResult
- HtmlGetLinksResponse
- HtmlGetRelCanonicalUrlResult
- HtmlGetSitemapUrlResult
- HtmlHyperlink
- HtmlMdResult
- HtmlSsrfThreatCheckResult
- HtmlTemplateApplicationRequest
- HtmlTemplateApplicationResponse
- HtmlTemplateOperation
- HtmlThreatLink
- HtmlToOfficeRequest
- HtmlToPdfRequest
- HtmlToPngRequest
- HtmlToTextRequest
- HtmlToTextResponse
- InsertDocxCommentOnParagraphResponse
- InsertDocxInsertParagraphRequest
- InsertDocxInsertParagraphResponse
- InsertDocxTableRowRequest
- InsertDocxTableRowResponse
- InsertDocxTablesRequest
- InsertDocxTablesResponse
- InsertXlsxWorksheetRequest
- InsertXlsxWorksheetResponse
- JobStatusResult
- KeynoteToJpgResult
- KeynoteToPngResult
- MergeBatchJobCreateResult
- MergeJobStatusResult
- MsgAttachment
- MsgToHtmlResult
- MsgToJpgResult
- MsgToPngResult
- MultiReplaceStringRequest
- MultipageImageFormatConversionResult
- OdpToJpgResult
- OdpToPngResult
- OdsToJpgResult
- OdsToPngResult
- OdtToJpgResult
- OdtToPngResult
- PageConversionResult
- PdfAnnotation
- PdfDocument
- PdfFormField
- PdfFormFields
- PdfMetadata
- PdfPageText
- PdfTextByPageResult
- PdfToJpgResult
- PdfToPngDirectResult
- PdfToPngResult
- PptxPageLayoutInformation
- PptxSplitAdvancedRequest
- PptxSplitAdvancedResponse
- PptxToPngResult
- PresentationAdvancedResult
- PresentationResult
- RemoveDocxHeadersAndFootersRequest
- RemoveDocxHeadersAndFootersResponse
- RemoveDocxPagesRequest
- RemoveHtmlFromTextRequest
- RemoveHtmlFromTextResponse
- RemovePptxSlidesRequest
- RemoveWhitespaceFromTextRequest
- RemoveWhitespaceFromTextResponse
- RemoveXlsxWorksheetRequest
- RenameXlsxWorksheetRequest
- RenameXlsxWorksheetResponse
- ReplaceDocxParagraphRequest
- ReplaceDocxParagraphResponse
- ReplaceStringRegexRequest
- ReplaceStringRegexResponse
- ReplaceStringRequest
- ReplaceStringSimpleRequest
- ReplaceStringSimpleResponse
- RtfToJpgResult
- RtfToPngResult
- ScreenshotRequest
- SetFormFieldValue
- SetPdfFormFieldsRequest
- SetPdfMetadataRequest
- SetXlsxCellByIdentifierRequest
- SetXlsxCellByIdentifierResponse
- SetXlsxCellRequest
- SetXlsxCellResponse
- SingleReplaceString
- SplitBatchJobCreateResult
- SplitDocumentResult
- SplitDocxDocumentResult
- SplitPdfResult
- SplitPptxPresentationResult
- SplitTextDocumentByLinesResult
- SplitTextDocumentByStringResult
- SplitXlsxWorksheetResult
- TextConversionResult
- TextDocumentElement
- TextDocumentLine
- TextEncodingDetectResponse
- Thumbnail
- UpdateDocxTableCellRequest
- UpdateDocxTableCellResponse
- UpdateDocxTableRowRequest
- UpdateDocxTableRowResponse
- UrlToPdfRequest
- UrlToTextRequest
- UrlToTextResponse
- ViewerResponse
- WorksheetResult
- XlsxImage
- XlsxSpreadsheetCell
- XlsxSpreadsheetColumn
- XlsxSpreadsheetRow
- XlsxToPngResult
- XlsxWorksheet
- XmlAddAttributeWithXPathResult
- XmlAddChildWithXPathResult
- XmlFilterWithXPathResult
- XmlQueryWithXQueryMultiResult
- XmlQueryWithXQueryResult
- XmlRemoveAllChildrenWithXPathResult
- XmlRemoveWithXPathResult
- XmlReplaceWithXPathResult
- XmlSetValueWithXPathResult
- XxeThreatDetectionResult
- ZipDirectory
- ZipEncryptionAdvancedRequest
- ZipExtractResponse
- ZipFile
Documentation For Authorization
Apikey
- Type: API key
- API key parameter name: Apikey
- Location: HTTP header