danielsan/echosign-api-php
最新稳定版本:v1.0.0
Composer 安装命令:
composer require danielsan/echosign-api-php
包简介
Adobe EchoSign PHP Api Implementation
关键字:
README 文档
README
#Adobe EchoSign PHP API
This PHP library wraps Adobe's EchoSign API, currently at Version 15. The library closely follows the documentation at https://secure.echosign.com/public/docs/EchoSignDocumentService15
##Requirements
- PHP 5.3
- SOAP module
##Version 1.0.0 This is currently a development library, not fully tested for production use
##Instalation
composer require danielsan/echosign-api-php
Please provide a version constraint for the danielsan/echosign-api-php requirement: 1.0.0
Don't forget to include vendor/autoload.php to use it
##Usage
There are basic examples of all generally accessible methods in the examples folder. The EchoSign API has several methods that are only accessible by requesting special permission from the provider. Those methods are implemented in the wrapper, but examples are not provided.
###Simple Document Send
$client = new SoapClient(EchoSign\API::getWSDL());
$api = new EchoSign\API($client, 'YOUR API KEY');
$file = EchoSign\Info\FileInfo::createFromFile('demo.pdf');
$document = new EchoSign\Info\DocumentCreationInfo('Test sendDocument', $file);
$recipients = new EchoSign\Info\RecipientInfo;
$recipients->addRecipient($recipient_email);
$document->setRecipients($recipients);
$result = $api->sendDocument($document);
###Simple Embedded Widget Creation
$client = new SoapClient(EchoSign\API::getWSDL());
$api = new EchoSign\API($client, 'YOUR API KEY');
$file = EchoSign\Info\FileInfo::createFromFile('demo.pdf');
$widget = new EchoSign\Info\WidgetCreationInfo('Test createEmbeddedWidget', $file);
$result = $api->createEmbeddedWidget($widget);
统计信息
- 总下载量: 41.69k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-08-15