2017 © Pedro Peláez
 

library conversion-sdk-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

image

groupdocscloud/conversion-sdk-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

  • Tuesday, July 10, 2018
  • by groupdocscloud
  • Repository
  • 4 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

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., (*1)

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 https://dashboard.groupdocs.cloud (free registration is required)., (*2)

Installation & Usage

Composer

The package is available at Packagist and it can be installed via Composer by executing following command:, (*3)

composer require groupdocscloud/groupdocs-conversion-cloud

Or you can install SDK via Composer directly from this repository, add the following to composer.json:, (*4)

{
  "repositories": [
    {
      "type": "git",
      "url": "https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php.git"
    }
  ],
  "require": {
    "groupdocscloud/groupdocs-conversion-cloud": "*"
  }
}

Then run composer install, (*5)

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:, (*6)

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 and execute following commands:, (*7)

php composer.phar install
./vendor/bin/phpunit

Getting Started

Please follow the installation procedure and then run the following:, (*8)

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., (*9)

Home | Product Page | Docs | Demos | API Reference | Examples | Blog | Free Support | Free Trial, (*10)

The Versions

10/07 2018

dev-master

9999999-dev https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

php conversion groupdocs groupdocs cloud

10/07 2018

18.6

18.6.0.0 https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

php conversion groupdocs groupdocs cloud

01/06 2018

18.4

18.4.0.0 https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

php conversion groupdocs groupdocs cloud

26/04 2018

18.3

18.3.0.0 https://github.com/groupdocs-conversion-cloud/groupdocs-conversion-cloud-php

This repository contains GroupDocs.Conversion for Cloud SDK for PHP source code.

  Sources   Download

MIT

The Requires

 

The Development Requires

php conversion groupdocs groupdocs cloud