{"id":25553748,"url":"https://github.com/docusign/sample-app-it-php","last_synced_at":"2026-03-04T05:31:45.035Z","repository":{"id":162955895,"uuid":"629726141","full_name":"docusign/sample-app-it-php","owner":"docusign","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-05T22:24:14.000Z","size":1936,"stargazers_count":2,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-12-09T08:41:33.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docusign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-18T22:50:26.000Z","updated_at":"2025-12-05T19:57:46.000Z","dependencies_parsed_at":"2024-05-31T23:41:19.338Z","dependency_job_id":"9b947cd5-ed56-4e13-8247-662f80a087ae","html_url":"https://github.com/docusign/sample-app-it-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/docusign/sample-app-it-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-it-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-it-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-it-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-it-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docusign","download_url":"https://codeload.github.com/docusign/sample-app-it-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-it-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30072507,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-04T05:13:31.218Z","status":"ssl_error","status_checked_at":"2026-03-04T05:10:24.293Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-20T12:01:30.040Z","updated_at":"2026-03-04T05:31:45.013Z","avatar_url":"https://github.com/docusign.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IT Sample Application: PHP and React\n\n## Introduction\n\nThe IT sample app is a Docusign sample application written in PHP (server) and React (client).\n\nThe IT sample app demonstrates the following:\n\n1. **Authentication** with Docusign via [JSON Web Token (JWT) Grant](https://developers.docusign.com/platform/auth/jwt/).\n2. **Bulk send of multiple envelopes:**\n   This example uses the Docusign [eSignature REST API](https://developers.docusign.com/docs/esign-rest-api/) to [Bulk Send](https://developers.docusign.com/docs/esign-rest-api/reference/bulkenvelopes/bulksend/) multiple envelopes based on PDF document template, and fills data dynamically.\n3. **Bulk assignment of permission profiles to employees:**\n   This example uses the [Docusign Admin API](https://developers.docusign.com/docs/admin-api/) to [Update Users'](https://developers.docusign.com/docs/admin-api/reference/usermanagement/esignusermanagement/updateuser/) permission profiles in a single request.\n\n\n## Prerequisites\n\n- Create a Docusign developer [account](https://go.docusign.com/o/sandbox/).\n- Create an application on the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=appsAndKeys) page and copy credentials to `backend/.env`:\n  client ID (integration key), user ID, account ID and copy **RSA private key** to a file `storage/docusign_private.key`.\n  This [**video**](https://www.youtube.com/watch?v=GgDqa7-L0yo) demonstrates how to create an integration key (client ID) for a user application like this example.\n- Add redirect URI `{ PROTOCOL }://{ DOMAIN }/callback`\n- Create [permission profiles](https://admindemo.docusign.com/authenticate?goTo=roles) with names: Admin, Manager and Employee\n- [PHP 8.1](https://www.php.net/downloads.php)\n- [Docker](https://www.docker.com/) installed and configured in your machine.\n- [Composer](https://getcomposer.org/download/) set up in your PATH environment variable so you can invoke it from any folder.\n\n\u003e For first time use, paste login endpoint URL and grant consent to the app.\n\n### Variables configuration\n\nCreate a copy of the file backend/.env.example, save the copy as backend/.env, and fill in the data:\n\n- MANAGER_LOGIN - email used for getting access token for endpoints\n- MANAGER_PASSWORD - password used for getting access token for endpoints\n- CLIENT_URL - URL of the client, which is using CORS for security\n- DOCUSIGN_BASE_URL - `https://demo.docusign.net/restapi` for development environment\n- DOCUSIGN_CLIENT_ID - integration key GUID\n- DOCUSIGN_USER_ID - impersonated user ID\n- DOCUSIGN_ACCOUNT_ID - API account ID\n\n## Local installation instructions\n\n1. Build the images using the following command:\n   \n   ```\n   docker compose -f docker-compose-local.yml build\n   ```\n\n2. Start the containers using the following command. Add the `-d` flag to run the process in the background:\n\n   ```\n   docker compose -f docker-compose-local.yml up\n   ```\n\n3. Open a new terminal and set the application key by running the command:\n\n   ```\n   docker exec -it myit_php php artisan key:generate\n   ```\n\n4. Install the database structure using these two commands:\n\n   ```\n   docker exec -it myit_php php artisan migrate --seed\n   docker exec -it myit_php php artisan passport:install\n   ```\n\n5. Clear the cache:\n\n   ```\n   docker exec -it myit_php php artisan cache:clear\n   ```\n\n6. Open a browser to [localhost](http://localhost).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fsample-app-it-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocusign%2Fsample-app-it-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fsample-app-it-php/lists"}