PHP code example of groupdocscloud / groupdocs-signature-cloud
1. Go to this page and download the library: Download groupdocscloud/groupdocs-signature-cloud library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
groupdocscloud / groupdocs-signature-cloud example snippets
O: Get your AppSID and AppKey at https://dashboard.groupdocs.cloud (free registration is XXX-XXXX-XXXX-XXXXXXXXXXXX");
$configuration->setAppKey("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
$signatureApi = new GroupDocs\Signature\SignatureApi($configuration);
try {
$request = new GroupDocs\Signature\Model\Requests\GetSupportedFileFormatsRequest();
$response = $signatureApi->getSupportedFileFormats($request);
foreach ($response->getFormats() as $key => $format) {
echo $format->getFileFormat() . " - " . $format->getExtension(), "\n";
}
} catch (Exception $e) {
echo "Something went wrong: ", $e->getMessage(), "\n";
PHP_EOL;
}
composer
{
"repositories": [
{
"type": "git",
"url": "https://github.com/groupdocs-signature-cloud/groupdocs-signature-cloud-php.git"
}
],
"