2017 © Pedro Peláez
 

symfony-bundle hellosign-bundle

A simple Symfony2/Symfony3 bundle for the official sdk provided by HelloSign.

image

bukashk0zzz/hellosign-bundle

A simple Symfony2/Symfony3 bundle for the official sdk provided by HelloSign.

  • Monday, October 17, 2016
  • by Bukashk0zzz
  • Repository
  • 1 Watchers
  • 1 Stars
  • 3,197 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Symfony2/Symfony3 HelloSign Bundle

Build Status Code Coverage Scrutinizer Code Quality License Latest Stable Version Total Downloads, (*1)

SensioLabsInsight knpbundles.com, (*2)

About

This is just a wrapper for the official SDK provided by HelloSign., (*3)

Installation

Add this to your composer.json file:, (*4)

"require": {
    "bukashk0zzz/hellosign-bundle": "dev-master",
}

Add the bundle to app/AppKernel.php, (*5)

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

Configuration

Add this to your config.yml:, (*6)

bukashk0zzz_hello_sign:
    #(Required) email address or apikey or OAuthToken
    login: 'XXXXXXXX'
    #(Optional, default: null) Null if using apikey or OAuthToken
    password: 'ZZZ'
    #(Optional, default: https://api.hellosign.com/v3/) alternative api base url
    url: 'https://api.hellosign.com/v3/'
    #(Optional, default: https://www.hellosign.com/oauth/token) alternative oauth url
    oauth_url: 'https://www.hellosign.com/oauth/token'

Usage

Provided services:, (*7)

Service Class
hellosign.client \HelloSign\Client

Inside a controller:, (*8)

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', 'george@example.com', 'George');
        $request->setCC('Accounting', 'accounting@example.com');
        $request->setCustomFieldValue('Cost', '$20,000');

        $response = $this->getContainer()->get('hellosign.client')->sendTemplateSignatureRequest($request);
    }
}

See LICENSE, (*9)

The Versions

17/10 2016

dev-master

9999999-dev https://github.com/bukashk0zzz/HelloSignBundle

A simple Symfony2/Symfony3 bundle for the official sdk provided by HelloSign.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Golubovskiy

bundle symfony hellosign hello sign

30/05 2016

v1.0.1

1.0.1.0 https://github.com/bukashk0zzz/HelloSignBundle

A simple Symfony2/Symfony3 bundle for the official sdk provided by HelloSign.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Golubovskiy

bundle symfony hellosign hello sign

21/12 2015

v1.0.0

1.0.0.0 https://github.com/bukashk0zzz/HelloSignBundle

A simple Symfony2/Symfony3 bundle for the official sdk provided by HelloSign.

  Sources   Download

MIT

The Requires

 

The Development Requires

by Denis Golubovskiy

bundle symfony hellosign hello sign