定制 nsbucky/echosign 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

nsbucky/echosign

Composer 安装命令:

composer require nsbucky/echosign

包简介

Library for Adobe Echosign REST APIT

README 文档

README

Library for dealing with adobe echosign REST API v2. You can view the API docs here: https://secure.echosign.com/public/docs/restapi/v2

Api v3

This library will not support the new v3 of Echosign. Please take a look at nsbucky/echosignv3 for work in progress.

Requirements

PHP 5.4, php ext-filter. Uses guzzlehttp as a transport, though you can plug in other ones if you want.

Please take a look at the tests to see how you can use the library. Its more or less a 1 to 1 with requests and responses for the echosign REST API.

Installation

In the require key of composer.json file add the following

"nsbucky/echosign": "dev-master"

Usage

// get a token from Echosign
use Echosign\Token;
$token = new Token($appId, $appSecret, $apiKey);
$token->authenticate();

// upload a transient document
use Echosign\TransientDocument;
$document = new TransientDocument($token, '/path/to/file/sample.pdf', 'application/pdf');
$document->send();

// create an agreement
use Echosign\Agreement;
use Echosign\Info\DocumentCreationInfo;
$agreement = new Agreement($token);
$fileInfos = new FileInfo();
$docInfo = new DocumentCreationInfo( $fileInfos, 'test', \Echosign\Info\DocumentCreationInfo::SIGN_ESIGN, \Echosign\Info\DocumentCreationInfo::FLOW_NOT_REQUIRED );
$docinfo->addRecipient('user@gmail.com');
$docInfo->addTransientDocument($document);
$response = $agreement->create($docInfo);

统计信息

  • 总下载量: 109
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 2
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-07-08

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固