Skip to content

Setasign/SetaPDF-Signer-Addon-Cumulo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SetaPDF-Signer-Addon-Cumulo

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.