Skip to content

Commit a36b2f1

Browse files
AaronWDSpmacklemeihDS
authored
Devdocs 5069 (#77)
* 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>
1 parent e1f1004 commit a36b2f1

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

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

0 commit comments

Comments
 (0)