fped/assently
Composer 安装命令:
composer require fped/assently
包简介
Updated laravel Assently API client
README 文档
README
Install with composer by running composer require fped/assently
Add Assently\AssentlyServiceProvider to your providers array.
Add following lines to your .env file and update them with your own keys:
ASSENTLY_DEBUG=true
ASSENTLY_KEY=<KEY_HERE>
ASSENTLY_SECRET=<SECRET_HERE>
Examples
Create & send a new case.
$assently = new Assently\Assently; $assently->authenticate(env('ASSENTLY_KEY'), env('ASSENTLY_SECRET')); $data = [ 'name' => 'Employmeent agreement '. rand(111, 999), 'NameAlias' => 'employmeent-agreement-'. rand(111, 999), 'AllowedSignatureTypes' => [ 'electronicid' ], 'Documents' => [ $assently->document()->create('path/to/document.pdf') ], "Parties" => [ $assently->party()->create([ 'Name' => 'John Doe', 'EmailAddress' => 'johndoe@gmail.com', 'AnyoneCanSign' => false ]) ] ]; $assently->case()->create($data)->send();
Send a case reminder
$assently = new Assently\Assently; $assently->authenticate(env('ASSENTLY_KEY'), env('ASSENTLY_SECRET')); $assently->case()->find('5a0e0869-6807-4b79-3712-466ea5cca5ce')->remind();
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-12