Download the PHP package signwell/signwell-sdk-php without Composer

On this page you can find all versions of the php package signwell/signwell-sdk-php. 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 signwell-sdk-php

SignWell PHP SDK

PHP SDK for the SignWell API.

Install

Requires PHP 8.2 or newer.

Quick Start

Resources, Models, And Errors

HTTP 403 responses raise Errors\PermissionDeniedError, which remains compatible with Errors\ForbiddenError catches. Transport failures raise Errors\ApiConnectionError; Errors\TransportError is available as an additive alias. Local required-argument validation uses PHP's native \InvalidArgumentException.

Binary And JSON Response Modes

Some SignWell endpoints can return either binary files or JSON objects. The SDK selects the expected response type from the request flags.

getNom151Certificate rejects url_only: true and object_only: true together.

Convenience Workflows

Client provides thin wrappers for common API workflows while keeping the generated resources available when you need every option.

Embedded Helpers

Embedded signing documents must include fields for every recipient, set with_signature_page: true, or set text_tags: true. The helper validates this before calling the API.

Pass the same CSP nonce to scriptTag() and iframe helpers when your page uses nonce-based script-src.

The static SignWell\Sdk\Embedded helper remains available when you do not need a configured client object.

Webhook Verification

Use verifyEventOnce or verifyEventOnceOrThrow with an application-provided atomic replay store for side-effecting webhook handlers. Replay stores should return false only for duplicate keys. The included memory store is for local development and single-process examples; when full, it evicts the oldest unexpired entry.

Laravel

The package auto-discovers SignWell\Sdk\Laravel\SignWellServiceProvider when installed in a Laravel app. Publish configuration:

Set SIGNWELL_API_KEY in your environment, then resolve APIs from the container:

The facade exposes configured resources and the same convenience helpers as the vanilla client:

Use SignWell\Sdk\Webhook directly for webhook signature verification.

Examples

The generated package includes runnable examples:

These examples create test-mode signing requests. Set SIGNWELL_EXAMPLE_RECIPIENT_EMAIL and SIGNWELL_EXAMPLE_RECIPIENT_NAME to override the placeholder signer.

Documentation

Generated API and model references are in docs/.

License

MIT


All versions of signwell-sdk-php with dependencies

PHP Build Version
Package Version
Requires php Version >=8.2
ext-curl Version *
ext-json Version *
ext-mbstring Version *
guzzlehttp/guzzle Version ^7.8
guzzlehttp/psr7 Version ^2.6
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 signwell/signwell-sdk-php contains the following files

Loading the files please wait ...