From 356f8fe9e3d002584f1f9705f5b46aa9c896208a Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:48:50 -0700 Subject: [PATCH 01/19] Update README.md --- README.md | 245 +++++++++++++++--------------------------------------- 1 file changed, 68 insertions(+), 177 deletions(-) diff --git a/README.md b/README.md index c59e9498..a69becc9 100644 --- a/README.md +++ b/README.md @@ -2,183 +2,74 @@ [![Build status][travis-image]][travis-url] -You can sign up for a free [developer sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16532). - -Requirements -============ - -PHP 5.4+ or higher [http://www.php.net/]. - -Installation -============ - -### Composer - -You can install the bindings via Composer. Run the following command: - - composer require docusign/esign-client - -To use the bindings, use Composer's autoload: - - require_once('vendor/autoload.php'); - -### Manual Install - -If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file. - - require_once('/path/to/docusign-esign-client/autoload.php'); - -#### Dependencies - -This client has the following external dependencies: - -* PHP Curl extension [http://www.php.net/manual/en/intro.curl.php] -* PHP JSON extension [http://php.net/manual/en/book.json.php] - -Usage -===== - -To login and send a signature request from a template: - -```php -setHost($host); - $config->addDefaultHeader("X-DocuSign-Authentication", "{\"Username\":\"" . $username . "\",\"Password\":\"" . $password . "\",\"IntegratorKey\":\"" . $integrator_key . "\"}"); - - // instantiate a new docusign api client - $apiClient = new DocuSign\eSign\ApiClient($config); - $accountId = null; - - try - { - //*** STEP 1 - Login API: get first Account ID and baseURL - $authenticationApi = new DocuSign\eSign\Api\AuthenticationApi($apiClient); - $options = new \DocuSign\eSign\Api\AuthenticationApi\LoginOptions(); - $loginInformation = $authenticationApi->login($options); - if(isset($loginInformation) && count($loginInformation) > 0) - { - $loginAccount = $loginInformation->getLoginAccounts()[0]; - $host = $loginAccount->getBaseUrl(); - $host = explode("/v2",$host); - $host = $host[0]; - - // UPDATE configuration object - $config->setHost($host); - - // instantiate a NEW docusign api client (that has the correct baseUrl/host) - $apiClient = new DocuSign\eSign\ApiClient($config); - - if(isset($loginInformation)) - { - $accountId = $loginAccount->getAccountId(); - if(!empty($accountId)) - { - //*** STEP 2 - Signature Request from a Template - // create envelope call is available in the EnvelopesApi - $envelopeApi = new DocuSign\eSign\Api\EnvelopesApi($apiClient); - // assign recipient to template role by setting name, email, and role name. Note that the - // template role name must match the placeholder role name saved in your account template. - $templateRole = new DocuSign\eSign\Model\TemplateRole(); - $templateRole->setEmail("[SIGNER_EMAIL]"); - $templateRole->setName("[SIGNER_NAME]"); - $templateRole->setRoleName("[ROLE_NAME]"); - - // instantiate a new envelope object and configure settings - $envelop_definition = new DocuSign\eSign\Model\EnvelopeDefinition(); - $envelop_definition->setEmailSubject("[DocuSign PHP SDK] - Signature Request Sample"); - $envelop_definition->setTemplateId("[TEMPLATE_ID]"); - $envelop_definition->setTemplateRoles(array($templateRole)); - - // set envelope status to "sent" to immediately send the signature request - $envelop_definition->setStatus("sent"); - - // optional envelope parameters - $options = new \DocuSign\eSign\Api\EnvelopesApi\CreateEnvelopeOptions(); - $options->setCdseMode(null); - $options->setMergeRolesOnDraft(null); - - // create and send the envelope (aka signature request) - $envelop_summary = $envelopeApi->createEnvelope($accountId, $envelop_definition, $options); - if(!empty($envelop_summary)) - { - echo "$envelop_summary"; - } - } - } - } - } - catch (DocuSign\eSign\ApiException $ex) - { - echo "Exception: " . $ex->getMessage() . "\n"; - } - } -} - -?> -``` - -See [UnitTests.php](https://github.com/docusign/docusign-php-client/blob/master/test/UnitTests.php) for more examples. - -# Authentication - -## Service Integrations that use Legacy Header Authentication - -([Legacy Header Authentication](https://docs.docusign.com/esign/guide/authentication/legacy_auth.html) uses the X-DocuSign-Authentication header.) - -1. Use the [Authentication: login method](https://docs.docusign.com/esign/restapi/Authentication/Authentication/login/) to retrieve the account number **and the baseUrl** for the account. -The url for the login method is www.docusign.net for production and demo.docusign.net for the developer sandbox. -The `baseUrl` field is part of the `loginAccount` object. See the [docs and the loginAccount object](https://docs.docusign.com/esign/restapi/Authentication/Authentication/login/#/definitions/loginAccount) -2. The baseUrl for the selected account, in production, will start with na1, na2, na3, eu1, or something else. Use the baseUrl that is returned to create the *basePath* (see the next step.) Use the basePath for all of your subsequent API calls. -3. As returned by login method, the baseUrl includes the API version and account id. Split the string to obtain the *basePath*, just the server name and api name. Eg, you will receive `https://na1.docusign.net/restapi/v2/accounts/123123123`. You want just `https://na1.docusign.net/restapi` -4. Instantiate the SDK using the basePath. Eg `ApiClient apiClient = new ApiClient(basePath);` -5. Set the authentication header as shown in the examples by using `Configuration.Default.AddDefaultHeader` - -## User Applications that use OAuth Authentication -1. After obtaining a Bearer token, call the [OAuth: Userinfo method](https://docs.docusign.com/esign/guide/authentication/userinfo.html). Obtain the selected account's `base_uri` (server name) field. -The url for the Userinfo method is account-d.docusign.com for the demo/developer environment, and account.docusign.com for the production environment. -1. Combine the base_uri with "/restapi" to create the basePath. The base_uri will start with na1, na2, na3, eu1, or something else. Use the basePath for your subsequent API calls. -4. Instantiate the SDK using the basePath. Eg `ApiClient apiClient = new ApiClient(basePath);` -5. Create the `authentication_value` by combining the `token_type` and `access_token` fields you receive from either an [Authorization Code Grant](https://docs.docusign.com/esign/guide/authentication/oa2_auth_code.html) or [Implicit Grant](https://docs.docusign.com/esign/guide/authentication/oa2_implicit.html) OAuth flow. -5. Set the authentication header by using `Configuration.Default.AddDefaultHeader('Authorization', authentication_value)` - -Testing -======= - -Unit tests are available in the [test](/test) folder. - -Follow the steps below to run the test cases - -* Rename the "TestConfig.php-sample" to "TestConfig.php" -* Populate all the required values like the login credentials, integrator key, host, etc in TestConfig.php -* Run the following command from the [test](/test) folder - - phpunit.phar UnitTests.php - -Support -======= - -Feel free to log issues against this client through GitHub. We also have an active developer community on Stack Overflow, search the [DocuSignAPI](http://stackoverflow.com/questions/tagged/docusignapi) tag. - -License -======= - -The DocuSign PHP Client is licensed under the following [License](LICENSE). +## Requirements + +- PHP 5.4+ +- Free [Developer Sandbox](https://go.docusign.com/sandbox/productshot/?elqCampaignId=16531) + +## Compatibility + +- PHP 5.4+ + +## Usage + +This open-source SDK is provided for cases where you would like to make additional changes that the SDK does not provide out-of-the-box. If you simply want to use the SDK with any of the examples shown in the [Developer Center](https://developers.docusign.com/esign-rest-api/code-examples), follow the installation instructions below. + +## Installation + +### Composer: + +1. In your **PHP console** , type: +**Composer require docusign/esign-client** +2. To use the package automatically, add to Composer's **Autoload** file: +require\_once('vendor/autoload.php'); + +### Manual install: + +1. Download or clone this repository. +2. Bind the PHP SDK to your server or place it in a static location. + +1. + 1. a)To bind to your server, edit the _init.php_ file. Add: +require\_once('/path/to/docusign-esign-client/autoload.php'); + 2. b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +require\_once('/path/to/docusign-esign-client/autoload.php'); + +## Dependencies + +This client has the following external dependencies: + +- [PHP cURL extension](http://www.php.net/manual/en/intro.curl.php) +- [PHP JSON extension](http://php.net/manual/en/book.json.php) + +## Code Examples + +### Launchers + +DocuSign provides a sample application referred to as a [Launcher](https://github.com/docusign/eg-03-php-auth-code-grant). The Launcher contains a set of 18 common use cases and associated source files. These examples use DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. + +## Proof-of-concept applications + +If your goal is to create a proof-of-concept application, DocuSign provides a set of [Quick Start](https://github.com/docusign/qs-php) examples. The Quick Startexamples are meant to be used with DocuSign's [OAuth Token Generator](https://developers.docusign.com/oauth-token-generator), which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution. + +## OAuth Implementations + +For details regarding which type of OAuth grant will work best for your DocuSign integration, see the [REST API Authentication Overview](https://developers.docusign.com/esign-rest-api/guides/authentication) guide located on the [DocuSign Developer Center](https://developers.docusign.com/esign-rest-api/guides/authentication). + +For security purposes, DocuSign recommends using the [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. + +There are other use-case scenarios, such as **single-page applications** (SPA) that use **Cross-Origin Resource Sharing** (CORS), or where there may not be a user to interact with your Service Account. For these use cases, DocuSign also supports [JWT](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-jsonwebtoken) and [Implicit](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-implicit) grants. For code examples, see the links below: + +- [JWT (JSON Web Token)](https://github.com/docusign/eg-03-php-auth-code-grant) +- Implicit Grant (coming soon) + +## Support + +Log issues against this client through GitHub. We also have an [active developer community on Stack Overflow](http://stackoverflow.com/questions/tagged/docusignapi). + +## License + +The DocuSign PHP Client is licensed under the [MIT License](https://github.com/docusign/docusign-php-client/blob/master/LICENSE). [travis-image]: https://img.shields.io/travis/docusign/docusign-php-client.svg?style=flat [travis-url]: https://travis-ci.org/docusign/docusign-php-client From 69da69c1113e3def57a61e61cd15e38dff34520f Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:50:48 -0700 Subject: [PATCH 02/19] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a69becc9..6afcff14 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,8 @@ This open-source SDK is provided for cases where you would like to make addition 1. In your **PHP console** , type: **Composer require docusign/esign-client** -2. To use the package automatically, add to Composer's **Autoload** file: -require\_once('vendor/autoload.php'); +2. To use the package automatically, add to Composer's **Autoload** file: +require\_once('vendor/autoload.php'); ### Manual install: @@ -30,10 +30,10 @@ require\_once('vendor/autoload.php'); 2. Bind the PHP SDK to your server or place it in a static location. 1. - 1. a)To bind to your server, edit the _init.php_ file. Add: -require\_once('/path/to/docusign-esign-client/autoload.php'); - 2. b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: -require\_once('/path/to/docusign-esign-client/autoload.php'); + a)To bind to your server, edit the _init.php_ file. Add: +require\_once('/path/to/docusign-esign-client/autoload.php'); + b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies @@ -46,11 +46,11 @@ This client has the following external dependencies: ### Launchers -DocuSign provides a sample application referred to as a [Launcher](https://github.com/docusign/eg-03-php-auth-code-grant). The Launcher contains a set of 18 common use cases and associated source files. These examples use DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. +DocuSign provides a sample application referred to as a [Launcher](https://github.com/docusign/eg-03-php-auth-code-grant). The Launcher contains a set of 18 common use cases and associated source files. These examples use DocuSign's [Authorization Code Grant](https://developers.docusign.com/esign-rest-api/guides/authentication/oauth2-code-grant) flow. ## Proof-of-concept applications -If your goal is to create a proof-of-concept application, DocuSign provides a set of [Quick Start](https://github.com/docusign/qs-php) examples. The Quick Startexamples are meant to be used with DocuSign's [OAuth Token Generator](https://developers.docusign.com/oauth-token-generator), which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution. +If your goal is to create a proof-of-concept application, DocuSign provides a set of [Quick Start](https://github.com/docusign/qs-php) examples. The Quick Startexamples are meant to be used with DocuSign's [OAuth Token Generator](https://developers.docusign.com/oauth-token-generator), which will allow you to generate tokens for the Demo/Sandbox environment only. These tokens last for eight hours and will enable you to build your proof-of-concept application without the need to fully implement an OAuth solution. ## OAuth Implementations From 200a341103c9033b8ced90618402a8bec438c9c9 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:52:18 -0700 Subject: [PATCH 03/19] Update README.md --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6afcff14..914428be 100644 --- a/README.md +++ b/README.md @@ -28,11 +28,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. - -1. - a)To bind to your server, edit the _init.php_ file. Add: +a)To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); - b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 7a5f32df25f9892dc45cf13232fedd5b2f3ac720 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:54:03 -0700 Subject: [PATCH 04/19] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 914428be..9a01b551 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,10 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -a)To bind to your server, edit the _init.php_ file. Add: -require\_once('/path/to/docusign-esign-client/autoload.php'); -b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: -require\_once('/path/to/docusign-esign-client/autoload.php'); + +a)To bind to your server, edit the _init.php_ file. Add: + +require\_once('/path/to/docusign-esign-client/autoload.php'); + +b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: + +require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From f0fa7b6d0ad4690383b12e786cc4a795e5d80c96 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:55:11 -0700 Subject: [PATCH 05/19] Update README.md --- README.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9a01b551..86ac764a 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,11 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. - +a)To bind to your server, edit the _init.php_ file. Add: - +require\_once('/path/to/docusign-esign-client/autoload.php'); - +b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: - +require\_once('/path/to/docusign-esign-client/autoload.php'); + +a)To bind to your server, edit the _init.php_ file. Add: + require\_once('/path/to/docusign-esign-client/autoload.php'); +b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: + require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 4cbb4a229f311cd577aee7d6220fba746ad90a25 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:56:17 -0700 Subject: [PATCH 06/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 86ac764a..f5d1f095 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -a)To bind to your server, edit the _init.php_ file. Add: +- a)To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); -b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +- b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 06079fb2f1d6e1a276d2a0eb07347fc23e28627f Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:56:58 -0700 Subject: [PATCH 07/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f5d1f095..3c414653 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -- a)To bind to your server, edit the _init.php_ file. Add: ++ a)To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); -- b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: ++ b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From a2e3e8ec1a524893283cb9d29a7cc683c89a656f Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:58:12 -0700 Subject: [PATCH 08/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3c414653..a1e3c238 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -+ a)To bind to your server, edit the _init.php_ file. Add: ++ a.To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); -+ b)To bind to single pages: In your PHP file that will utilize the PHP SDK, add: ++ b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 3ec37bf1937a9c2476c420cb5c31631f73c06008 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 09:59:26 -0700 Subject: [PATCH 09/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1e3c238..69faf400 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -+ a.To bind to your server, edit the _init.php_ file. Add: +a.To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); -+ b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 90c733d4ec91fd22a39ffe9031930457b1c8028f Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 10:01:02 -0700 Subject: [PATCH 10/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 69faf400..f96f803c 100644 --- a/README.md +++ b/README.md @@ -29,9 +29,9 @@ require\_once('vendor/autoload.php'); 1. Download or clone this repository. 2. Bind the PHP SDK to your server or place it in a static location. -a.To bind to your server, edit the _init.php_ file. Add: +2a.To bind to your server, edit the _init.php_ file. Add: require\_once('/path/to/docusign-esign-client/autoload.php'); -b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: +2b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: require\_once('/path/to/docusign-esign-client/autoload.php'); ## Dependencies From 9d455081a91fff4d706d8115f21ec1f0fd84b8c3 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 11:47:18 -0700 Subject: [PATCH 11/19] Update README.md --- README.md | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index f96f803c..75748e4a 100644 --- a/README.md +++ b/README.md @@ -22,17 +22,21 @@ This open-source SDK is provided for cases where you would like to make addition 1. In your **PHP console** , type: **Composer require docusign/esign-client** 2. To use the package automatically, add to Composer's **Autoload** file: -require\_once('vendor/autoload.php'); +require_once('vendor/autoload.php'); ### Manual install: -1. Download or clone this repository. -2. Bind the PHP SDK to your server or place it in a static location. - -2a.To bind to your server, edit the _init.php_ file. Add: - require\_once('/path/to/docusign-esign-client/autoload.php'); -2b.To bind to single pages: In your PHP file that will utilize the PHP SDK, add: - require\_once('/path/to/docusign-esign-client/autoload.php'); +
    +
  1. Download or clone this repository.
  2. +
  3. Bind the PHP SDK to your server or place it in a static location. +
      +
    1. To bind to your server, edit the init.php file. Add:
      + require_once('/path/to/docusign-esign-client/autoload.php');
    2. +
    3. To bind to single pages: In your PHP file that will utilize the PHP SDK, add:
      + `require_once('/path/to/docusign-esign-client/autoload.php');
    4. +
    +
  4. +
## Dependencies From ec28ce9194d4cb06658e72aeffdf27036858dbd6 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 11:55:10 -0700 Subject: [PATCH 12/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75748e4a..f234edcf 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ require_once('vendor/autoload.php');
  1. Download or clone this repository.
  2. Bind the PHP SDK to your server or place it in a static location. -
      +
      1. To bind to your server, edit the init.php file. Add:
        require_once('/path/to/docusign-esign-client/autoload.php');
      2. To bind to single pages: In your PHP file that will utilize the PHP SDK, add:
        From 03431c8c0513128c1047323f73e85939fe6403a7 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 12:28:01 -0700 Subject: [PATCH 13/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f234edcf..55300e3c 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ - PHP 5.4+ -## Usage +## Note This open-source SDK is provided for cases where you would like to make additional changes that the SDK does not provide out-of-the-box. If you simply want to use the SDK with any of the examples shown in the [Developer Center](https://developers.docusign.com/esign-rest-api/code-examples), follow the installation instructions below. From a0ffa4503a350d6c0b04bd55aa97e4e3295f3a2d Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 13:53:04 -0700 Subject: [PATCH 14/19] Update README.md --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 55300e3c..11ec4a0d 100644 --- a/README.md +++ b/README.md @@ -19,10 +19,10 @@ This open-source SDK is provided for cases where you would like to make addition ### Composer: -1. In your **PHP console** , type: -**Composer require docusign/esign-client** -2. To use the package automatically, add to Composer's **Autoload** file: -require_once('vendor/autoload.php'); +1. In your **PHP console** , type: + **Composer require docusign/esign-client** +2. To use the package automatically, add to Composer's **Autoload** file: + require_once('vendor/autoload.php'); ### Manual install: From 434d863fd5864c4df14c04f06d5ed6cbf5c3d413 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 13:53:49 -0700 Subject: [PATCH 15/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 11ec4a0d..388f8af1 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ This open-source SDK is provided for cases where you would like to make addition 1. In your **PHP console** , type: **Composer require docusign/esign-client** 2. To use the package automatically, add to Composer's **Autoload** file: - require_once('vendor/autoload.php'); + **require_once('vendor/autoload.php');** ### Manual install: From d35cd093155edffb50b40bc67b03896ee4311b23 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Tue, 30 Apr 2019 13:55:05 -0700 Subject: [PATCH 16/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 388f8af1..f004b041 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ This open-source SDK is provided for cases where you would like to make addition ### Composer: 1. In your **PHP console** , type: - **Composer require docusign/esign-client** + **Composer require docusign/esign-client;** 2. To use the package automatically, add to Composer's **Autoload** file: **require_once('vendor/autoload.php');** From 3c021de9a1873d68a640fe0b6ab011ee77759a09 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Fri, 3 May 2019 15:25:21 -0700 Subject: [PATCH 17/19] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f004b041..8b19077b 100644 --- a/README.md +++ b/README.md @@ -68,7 +68,7 @@ There are other use-case scenarios, such as **single-page applications** (SPA) t ## Support -Log issues against this client through GitHub. We also have an [active developer community on Stack Overflow](http://stackoverflow.com/questions/tagged/docusignapi). +Log issues against this client through GitHub. We also have an [active developer community on Stack Overflow](https://stackoverflow.com/questions/tagged/docusignapi). ## License From 64708e91db5048db0cf3d74bc0958315c4f3cb76 Mon Sep 17 00:00:00 2001 From: MattKingDS <43220771+MattKingDS@users.noreply.github.com> Date: Fri, 3 May 2019 15:26:21 -0700 Subject: [PATCH 18/19] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8b19077b..a5f343b7 100644 --- a/README.md +++ b/README.md @@ -42,8 +42,8 @@ This open-source SDK is provided for cases where you would like to make addition This client has the following external dependencies: -- [PHP cURL extension](http://www.php.net/manual/en/intro.curl.php) -- [PHP JSON extension](http://php.net/manual/en/book.json.php) +- [PHP cURL extension](https://www.php.net/manual/en/intro.curl.php) +- [PHP JSON extension](https://php.net/manual/en/book.json.php) ## Code Examples From d382ba3d3ea493029fe1d501da967abd370bcf26 Mon Sep 17 00:00:00 2001 From: Majid Mallis Date: Wed, 8 May 2019 11:22:54 -0700 Subject: [PATCH 19/19] Removed HHVM from the test matrix for now --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f627c0c5..8721db3a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,5 @@ php: - 5.5 - 5.6 - 7.0 - - hhvm before_install: "composer install" script: "vendor/bin/phpunit --verbose -c test"