Skip to content

Commit 34d2d77

Browse files
committed
2 parents 4674c25 + d57c5c4 commit 34d2d77

25 files changed

+942
-73
lines changed

JWTConsoleApp/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"docusign/esign-client": "6.6.0",
1010
"league/oauth2-client": "2.6.1",
1111
"ext-json": "*",
12-
"guzzlehttp/guzzle": "7.4.1",
12+
"guzzlehttp/guzzle": "7.4.4",
1313
"firebase/php-jwt": "5.5.1",
1414
"mashape/unirest-php": "3.0.4"
1515
}

JWTConsoleApp/composer.lock

Lines changed: 23 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,18 @@ For a list of code examples that use the Admin API, select the PHP tab under [Ex
101101
1. Add the launcher’s redirect URI. Under **Additional settings**, select **+ ADD URI**, and set a redirect URI of http://localhost:8080/public/index.php?page=ds_callback. Select **SAVE**.
102102
1. Set a name and email address for the signer. In ds_config.php, save an email address as `signer_email` and a name as `signer_name`.
103103
**Note:** Protect your personal information. Please make sure that ds_config.php will not be stored in your source code repository.
104-
1. Configure your web server to serve the files in the /public folder. For a simple web server setup, see the [XAMPP Apache web server instructions](#xampp-apache-web-server-instructions) below.
104+
1. Configure your web server to serve the files in the /public folder. For a simple web server setup, see the [PHP web server instructions](#php-web-server-instructions) below.
105+
1. Open a browser to http://localhost:8080/public.
106+
107+
108+
## PHP web server instructions
109+
110+
PHP can be used with the command line to launch a built in web server.
111+
112+
1. Extract the [Quickstart](https://developers.docusign.com/docs/esign-rest-api/quickstart/) ZIP file or download or clone the [code-examples-php](https://github.com/docusign/code-examples-php) repository.
113+
1. In your command-line environment, switch to the folder: `cd <Quickstart_folder>` or `cd code-examples-php`
114+
1. To install dependencies, run: `composer install`
115+
1. To start a built-in PHP web server, run: `php -S localhost:8080`
105116
1. Open a browser to http://localhost:8080/public.
106117

107118

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
},
77

88
"require": {
9-
"docusign/admin-client": "1.0.0",
9+
"docusign/admin-client": "1.1.0",
1010
"docusign/click-client": "1.1.0",
1111
"docusign/esign-client": "6.8.0",
1212
"docusign/rooms-client": "2.0.0",
1313
"docusign/monitor-client": "1.1.0",
1414
"twig/twig": "3.3.8",
1515
"league/oauth2-client": "2.6.1",
1616
"ext-json": "*",
17-
"guzzlehttp/guzzle": "7.4.1",
17+
"guzzlehttp/guzzle": "7.4.4",
1818
"firebase/php-jwt": "5.5.1",
1919
"mashape/unirest-php": "3.0.4"
2020
}

composer.lock

Lines changed: 29 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)