setasign/setapdf-signer-addon-swisscomais

A signature module and batch processor for the SetaPDF-Signer component wrapping the Swisscom AIS webservice.

v2.1.0 2024-04-12 09:53 UTC

This package is auto-updated.

Last update: 2024-11-12 11:20:20 UTC


README

This add-on offers individual signature modules and batch signature functionalities for the SetaPDF-Signer Component that allows you to use the Swisscom All-in Signing Service to digital sign PDF documents in pure PHP.

The implementation is based on the All-in Signing Service Reference Guide Version 2.10.

The form for requesting a test account at Swisscom includes the Claimed IDs for testing and is available here.

Requirements

To use this add-on you need credentials for the Swisscom AIS webservice.

This add-on 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. Note: Your implementation must support client-side certificates.

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

Installation

Add following to your composer.json:

{
    "require": {
        "setasign/setapdf-signer-addon-swisscomais": "^2.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.