PHP code example of mrnewport / laravel-docsign
1. Go to this page and download the library: Download mrnewport/laravel-docsign library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
mrnewport / laravel-docsign example snippets
use MrNewport\LaravelDocSign\Models\Document;
use MrNewport\LaravelDocSign\Facades\DocSign;
$document = Document::create([
'title' => 'Agreement',
'data' => ['_template' => 'agreements.lease', 'tenant' => 'Example'],
]);
$url = DocSign::generate($document);