You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* hardcoding broken link for example 1
* proposed readme changes for php for server instructions
* Add composer install line
Co-authored-by: Patrick Mackle <pimackle@ucdavis.edu>
Co-authored-by: Patrick Mackle <patrickthemackle@gmail.com>
Co-authored-by: meihDS <70775251+meihDS@users.noreply.github.com>
Copy file name to clipboardExpand all lines: README.md
+12-1Lines changed: 12 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -101,7 +101,18 @@ For a list of code examples that use the Admin API, select the PHP tab under [Ex
101
101
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**.
102
102
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`.
103
103
**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`
105
116
1. Open a browser to http://localhost:8080/public.
0 commit comments