https://github.com/setasign/setapdf-signer-addon-cumulo
https://github.com/setasign/setapdf-signer-addon-cumulo
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/setasign/setapdf-signer-addon-cumulo
- Owner: Setasign
- License: mit
- Created: 2022-06-29T11:52:34.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-06T14:08:15.000Z (about 2 years ago)
- Last Synced: 2025-02-16T15:05:46.879Z (over 1 year ago)
- Language: PHP
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SetaPDF-Signer-Addon-Cumulo
This package offers a module for the [SetaPDF-Signer](https://www.setasign.com/signer) component that allow you to use
the [Cumulo API](https://docs.cumulokey.net/) 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](https://www.setasign.com/signer)
component can be found [here](https://manuals.setasign.com/setapdf-signer-manual/getting-started/#index-1).
We're using [PSR-17 (HTTP Factories)](https://www.php-fig.org/psr/psr-17/) and [PSR-18 (HTTP Client)](https://www.php-fig.org/psr/psr-18/)
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](https://github.com/thephpleague/oauth2-client).
Sample code for this can be found in "[examples/generate-token.php](examples/generate-token.php)".
Please note: because of oauth2 your domain MUST be available through HTTPS.
## Installation
Add following to your composer.json:
```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](https://www.setasign.com/signer) component
(see [here](https://getcomposer.org/doc/faqs/why-can%27t-composer-load-repositories-recursively.md) for more details).
## License
This package is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).