altelma/laravel-signrequest

Send signrequest in Laravel'

Downloads

72

Stars

1

Version

Laravel SignRequest

Software License Build Status StyleCI Total Downloads

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 = '[email protected]';
$recipients = [
            [
                'email' => '[email protected]',
                '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.

ALTELMA

Author

ALTELMA