https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php
PHP SDK for communicating with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats with zero initial cost.
https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php
conversion-cloud-api conversion-cloud-sdk excel image pdf powerpoint sdk tex word xps
Last synced: about 2 months ago
JSON representation
PHP SDK for communicating with the GroupDocs.Conversion REST API. Convert between 50+ documents & image formats with zero initial cost.
- Host: GitHub
- URL: https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php
- Owner: groupdocs-conversion-cloud
- License: mit
- Created: 2018-04-26T11:38:04.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-10T07:54:35.000Z (3 months ago)
- Last Synced: 2025-04-11T18:24:15.976Z (about 2 months ago)
- Topics: conversion-cloud-api, conversion-cloud-sdk, excel, image, pdf, powerpoint, sdk, tex, word, xps
- Language: PHP
- Homepage: https://products.groupdocs.cloud/conversion/php
- Size: 3.68 MB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GroupDocs.Conversion Cloud SDK for PHP
This repository contains GroupDocs.Conversion Cloud SDK for PHP source code. This SDK allows you to work with GroupDocs.Conversion Cloud REST APIs in your PHP applications.
## Dependencies
- PHP 5.5 or later
## Authorization
To use SDK you need AppSID and AppKey authorization keys. You can get your AppSID and AppKey at (free registration is required).
## Installation & Usage
### Composer
The package is available at [Packagist](https://packagist.org/) and it can be installed via [Composer](http://getcomposer.org/) by executing following command:
```shell
composer require groupdocscloud/groupdocs-conversion-cloud
```Or you can install SDK via [Composer](http://getcomposer.org/) directly from this repository, add the following to `composer.json`:
```javascript
{
"repositories": [
{
"type": "git",
"url": "https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php.git"
}
],
"require": {
"groupdocscloud/groupdocs-conversion-cloud": "*"
}
}
```Then run `composer install`
### Manual Installation
Clone or download this repository, then run `composer install` in the root directory to install dependencies and include `autoload.php` into your code file:
```php
require_once('/path/to/groupdocs-conversion-cloud-php/vendor/autoload.php');
```## Tests
To run the unit tests set your AppSID and AppKey in [json.config](tests/GroupDocs/Conversion/config.json) and execute following commands:
```shell
php composer.phar install ./vendor/bin/phpunit
```## Getting Started
Please follow the [installation procedure](#installation--usage) and then run the following:
```php
setAppSid("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX");
$configuration->setAppKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");$api = new GroupDocs\Conversion\InfoApi($configuration);
try {
$request = new GroupDocs\Conversion\Model\Requests\GetSupportedConversionTypesRequest();
$response = $api->getSupportedConversionTypes($request);foreach($response as $key => $format) {
echo $format->getSourceFormat();
}
} catch (Exception $e) {
echo "Something went wrong: ", $e->getMessage(), "\n";
PHP_EOL;
}?>
```## Licensing
GroupDocs.Conversion Cloud SDK for PHP is licensed under [MIT License](LICENSE).
## Resources
+[**Website**](https://www.groupdocs.cloud)
+[**Product Home**](https://products.groupdocs.cloud/conversion)
+[**Documentation**](https://docs.groupdocs.cloud/conversion)
+[**Free Support Forum**](https://forum.groupdocs.cloud/c/conversion)
+[**Blog**](https://blog.groupdocs.cloud/category/conversion)## Contact Us
Your feedback is very important to us. Please feel free to contact us using our [Support Forums](https://forum.groupdocs.cloud/c/conversion).