altelma / laravel-signrequest
Send signrequest in Laravel'
dev-master
2018-05-10 02:07 UTC
Requires
- guzzlehttp/guzzle: ^6.3
This package is auto-updated.
Last update: 2024-10-21 20:36:26 UTC
README
Inspiration
https://github.com/AtaneNL/SignRequest
Installation
You can install this package via composer using:
composer require altelma/laravel-signrequest
The package will automatically register itself.
To publish the config file to config/signrequest.php
run:
php artisan vendor:publish --provider="Altelma\LaravelSignRequest\SignRequestServiceProvider"
Usage
$file = 'http://www.example.com/example.pdf' $cdr = SignRequest::createDocumentFromURL($file); $sender = 'admin@example.com'; $recipients = [ [ 'email' => 'receiver@domain.com', 'from_email_name' => 'John Doe', ], ]; $message = 'Hey, please sign this document.'; // optional $request = SignRequest::sendSignRequest($cdr->uuid, $sender, $recipients, $message);
License
The MIT License (MIT). Please see License File for more information.
Feedback
Welcome for any help and suggestions.