2017 © Pedro Peláez
 

library assently

Assently API for Laravel

image

eklundkristoffer/assently

Assently API for Laravel

  • Friday, September 2, 2016
  • by cornex
  • Repository
  • 2 Watchers
  • 4 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Installation

Install with composer by running composer require eklundkristoffer/assently, (*1)

Add Assently\AssentlyServiceProvider to your providers array., (*2)

Add following lines to your .env file and update them with your own keys:, (*3)

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();

The Versions

02/09 2016

dev-master

9999999-dev

Assently API for Laravel

  Sources   Download

MIT

The Requires