PHP code example of bukashk0zzz / hellosign-bundle

1. Go to this page and download the library: Download bukashk0zzz/hellosign-bundle 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/ */

    

bukashk0zzz / hellosign-bundle example snippets


$bundles = array(
	// ... other bundles
	new Bukashk0zzz\HelloSignBundle\Bukashk0zzzHelloSignBundle(),
);

class DocsController extends Controller
{
    public function createSignatureRequestAction()
    {
        $request = new HelloSign\TemplateSignatureRequest;
        $request->enableTestMode();
        $request->setTemplateId($template->getId());
        $request->setSubject('Purchase Order');
        $request->setMessage('Glad we could come to an agreement.');
        $request->setSigner('Client', '[email protected]', 'George');
        $request->setCC('Accounting', '[email protected]');
        $request->setCustomFieldValue('Cost', '$20,000');
        
        $response = $this->getContainer()->get('hellosign.client')->sendTemplateSignatureRequest($request);
    }
}