Download the PHP package turbodocx/sdk without Composer

On this page you can find all versions of the php package turbodocx/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package sdk

TurboDocx

TurboDocx PHP SDK

Official PHP SDK for TurboDocx - Digital signatures, document generation, and AI-powered workflows

The most developer-friendly DocuSign & PandaDoc alternative for e-signatures and document generation. Send documents for signature and automate document workflows programmatically.

Packagist Version PHP Version Agent Skills Quickstart Skill

WebsiteDocumentationAPI & SDK • Discord


⚡ Skip the boilerplate — let an agent scaffold it for you

Have an AI coding agent (Claude Code, Cursor, Copilot, Codex, Gemini CLI, OpenCode) install this SDK, configure your env, write working route handlers, and wire them into your app:

Then run /turbodocx-sdk inside your agent — or one of the focused shortcuts:

Shortcut What it scaffolds
/turbodocx-sdk turbosign Send documents for e-signature, check status, download signed PDF
/turbodocx-sdk deliverable Generate documents from templates with variable substitution
/turbodocx-sdk turbopartner Provision and manage customer organizations (partner accounts)
/turbodocx-sdk turbowebhooks Subscribe to signature.document.completed events + verify HMAC

The skill auto-detects your framework (Laravel, Symfony, …) and follows your existing project conventions. Source: github.com/TurboDocx/quickstart.


Why TurboDocx?

A modern, developer-first alternative to legacy e-signature platforms:

Looking for... TurboDocx offers
DocuSign API alternative Simple REST API, transparent pricing
PandaDoc alternative Document generation + e-signatures in one SDK
HelloSign/Dropbox Sign alternative Full API access, modern DX
Adobe Sign alternative Quick integration, developer-friendly docs
SignNow alternative Predictable costs, responsive support
Documint alternative DOCX/PDF generation from templates
WebMerge alternative Data-driven document automation

Other platforms we compare to: SignRequest, SignEasy, Zoho Sign, Eversign, SignWell, Formstack Documents

TurboDocx Ecosystem

Package Description
@turbodocx/html-to-docx Convert HTML to DOCX - fastest JS library
@turbodocx/n8n-nodes-turbodocx n8n community nodes for TurboDocx
TurboDocx Writer Microsoft Word add-in

Features


Requirements


Installation


Install via AI Agent Skill

Let an AI coding agent set up this SDK for you with the TurboDocx Quickstart Agent Skill:

Works with Claude Code, GitHub Copilot, Cursor, OpenCode, and other AI coding agents. The skill detects your language, installs the package, and generates working integration code.


Quick Start


Configuration

Important: senderEmail is REQUIRED. This email will be used as the reply-to address for signature request emails. Without it, emails will default to "API Service User via TurboSign". The senderName is optional but strongly recommended for a professional appearance.

Environment Variables

We recommend using environment variables for your configuration:


API Reference

TurboSign

createSignatureReviewLink()

Upload a document for review without sending signature emails. Returns a preview URL.

sendSignature()

Upload a document and immediately send signature request emails.

getStatus()

Check the current status of a document.

download()

Download the signed PDF document.

void()

Cancel a signature request that hasn't been completed.

resend()

Resend signature request emails to specific recipients (or all).

getAuditTrail()

Get the complete audit trail for a document, including all events and timestamps.

The audit trail includes a cryptographic hash chain for tamper-evidence verification.


TurboWebhooks (Signature Webhook)

The TurboWebhooks class manages your organization's signature webhook — a single subscription to TurboDocx signature events (signature.document.completed, signature.document.voided). It also exposes a verifyWebhookSignature helper for incoming webhook receivers.

One webhook per org. The SDK manages a single fixed-name webhook (signature) per org so SDK-managed and UI-managed webhooks stay in sync — what you create here also appears in the dashboard's Signature Webhooks settings page. To manage multiple webhooks per org, call the REST API directly.

Requires administrator role. All webhook routes require an admin TDX- API key.

Configuration

Unlike TurboSign, TurboWebhooks does NOT require senderEmail — webhook routes don't send signature emails.

Create the signature webhook (save the secret immediately)

If the signature webhook already exists, createWebhook throws ConflictException (HTTP 409). Either update the existing one with updateWebhook or deleteWebhook first.

Get, update, delete

Test deliveries and replay

Rotate the secret

Aggregate stats

Verify incoming webhook signatures

Webhook deliveries from TurboDocx are signed with HMAC-SHA256 over "{$timestamp}.{$rawBody}" using your webhook secret. Use verifyWebhookSignature to verify them in your receiver:

By default the helper enforces a 300-second timestamp tolerance to prevent replay attacks. Pass toleranceSeconds: N (0 disables the check — not recommended in production).


Field Types

TurboSign supports 11 different field types:

Field Positioning

TurboSign supports two ways to position fields:

1. Coordinate-based (Pixel Perfect)

2. Template Anchors (Dynamic)

Placement Options:

Advanced Field Options


File Input Methods

TurboSign supports three ways to provide the document:

1. Direct File Upload

2. File URL

3. TurboDocx Deliverable ID


Examples

Example 1: Simple Template Anchors

Example 2: Sequential Signing

Example 3: Status Polling

For more examples, see the examples/ directory.


TurboPartner (Partner API)

TurboPartner provides partner-level management capabilities for multi-tenant applications. Use this to programmatically manage organizations, users, API keys, and entitlements.

Partner Configuration

Partner Environment Variables

Organization Management

createOrganization()

Create a new organization under your partner account.

listOrganizations()

List all organizations with pagination and search.

getOrganizationDetails()

Get full details including features and tracking for an organization.

updateOrganizationInfo()

Update an organization's name.

updateOrganizationEntitlements()

Update an organization's features and tracking limits.

deleteOrganization()

Delete an organization (use with caution).

Organization User Management

addUserToOrganization()

Add a user to an organization with a specific role.

listOrganizationUsers()

List all users in an organization.

updateOrganizationUserRole()

Change a user's role within an organization.

resendOrganizationInvitationToUser()

Resend the invitation email to a pending user.

removeUserFromOrganization()

Remove a user from an organization.

Organization API Key Management

createOrganizationApiKey()

Create an API key for an organization.

listOrganizationApiKeys()

List all API keys for an organization.

updateOrganizationApiKey()

Update an organization API key's name or role.

revokeOrganizationApiKey()

Revoke (delete) an organization API key.

Partner API Key Management

createPartnerApiKey()

Create a new partner-level API key with specific scopes. The full key is only returned once in the response — save it securely. Subsequent list calls return a masked preview only.

listPartnerApiKeys()

List all partner API keys. Listed keys contain a masked preview (e.g. TDXP-a1b2...5e6f), never the full key.

updatePartnerApiKey()

Update a partner API key.

revokePartnerApiKey()

Revoke a partner API key.

Partner User Management

addUserToPartnerPortal()

Add a user to the partner portal with specific permissions.

listPartnerPortalUsers()

List all partner portal users.

updatePartnerUserPermissions()

Update a partner user's role and permissions.

resendPartnerPortalInvitationToUser()

Resend the invitation email to a pending partner user.

removeUserFromPartnerPortal()

Remove a user from the partner portal.

Audit Logs

getPartnerAuditLogs()

Get audit logs for all partner activities with filtering.

For more TurboPartner examples, see:


Error Handling

The SDK provides typed exceptions for different error scenarios:

All exceptions extend TurboDocxException and include:


License

MIT


Support


Related Packages


All versions of sdk with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
ext-fileinfo Version *
guzzlehttp/guzzle Version ^7.8
psr/http-client Version ^1.0
psr/http-message Version ^2.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package turbodocx/sdk contains the following files

Loading the files please wait ...