setasign/setapdf-signer-addon-cumulo

A SetaPDF-Signer component signature module for the Cumulo API.

v1.1.0 2022-12-12 09:18 UTC

This package is auto-updated.

Last update: 2024-12-06 15:46:13 UTC


README

This package offers a module for the SetaPDF-Signer component that allow you to use the Cumulo API to digital sign PDF documents in pure PHP.

Requirements

To use this package you need credentials for the Cumulo API.

This package is developed and tested on PHP >= 7.2. Requirements of the SetaPDF-Signer component can be found here.

We're using PSR-17 (HTTP Factories) and PSR-18 (HTTP Client) for the requests. So you'll need an implementation of these. We recommend using Guzzle.

    "require" : {
        "guzzlehttp/guzzle": "^7.0",
        "http-interop/http-factory-guzzle": "^1.0"
    }

Additionally to request an access token you'll need an oauth2 implementation such as league/oauth2-client.

Sample code for this can be found in "examples/generate-token.php".

Please note: because of oauth2 your domain MUST be available through HTTPS.

Installation

Add following to your composer.json:

{
    "require": {
        "setasign/setapdf-signer-addon-cumulo": "^1.0"
    },
    "repositories": [
        {
            "type": "composer",
            "url": "https://www.setasign.com/downloads/"
        }
    ]
}

and execute composer update. You need to define the repository to evaluate the dependency to the SetaPDF-Signer component (see here for more details).

License

This package is open-sourced software licensed under the MIT license.