mateusgalasso/clicksign

Laravel集成Clicksign服务的包

1.0 2023-07-24 13:48 UTC

This package is auto-updated.

Last update: 2024-09-24 16:06:16 UTC


README

Latest Version on Packagist Build Status Total Downloads

Laravel集成ClickSign服务的包

安装

您可以通过composer安装此包

composer require mateusgalasso/clicksign

填写所需变量

CLICKSIGN_ACCESS_TOKEN=
CLICKSIGN_DEV_MODE=true //In production it must be false to get the clicksign production path
CLICKSIGN_DEV_URL=https://sandbox.clicksign.com
CLICKSIGN_PROD_URL=https://app.clicksign.com

用法

创建文档

$response = (new Clicksign())->createDocument($path, $clicksignPath = null, $mimetype = 'application/pdf', $deadline = null, $autoClose = true, $locale = 'pt-BR', $sequence_enabled = false);

创建签署者

$response = (new Clicksign())->createSigner(String $email, String $name, $phoneNumber = null, $documentation = false, $birthday = null, $has_documentation = false);

将签署者添加到文档

$response =  (new Clicksign())->signerToDocument(String $document_key, $signer_key, $sign_as = 'approve', $message = null);

查看文档

$response =  (new Clicksign())->visualizaDocumento($DocumentKey);

取消文档

$response = (new Clicksign())->cancelDocument($DocumentKey);

删除文档

$response = (new Clicksign())->deleteDocument($DocumentKey);

通过电子邮件通知签署者

$response = (new Clicksign())->notificationsByEmail($signer_key, $message = null);

更新日志

有关最近更改的更多信息,请参阅更新日志

安全

如果您发现任何安全相关的问题,请通过电子邮件mateusgalasso@yahoo.com.br联系,而不是使用问题跟踪器。

致谢

许可

MIT许可证(MIT)。有关更多信息,请参阅许可文件

Laravel包模板

此包使用Laravel包模板生成。