PHPackages                             eideasy/simplysign - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. eideasy/simplysign

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

eideasy/simplysign
==================

Certum SimplySign Client

v3.0.0(2y ago)138.7k↓42.9%2[1 PRs](https://github.com/eideasy/php-library-simplysign/pulls)PHPPHP &gt;=8.2

Since Sep 8Pushed 2y agoCompare

[ Source](https://github.com/eideasy/php-library-simplysign)[ Packagist](https://packagist.org/packages/eideasy/simplysign)[ RSS](/packages/eideasy-simplysign/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (5)Versions (14)Used By (0)

About
=====

[](#about)

[![Build Status](https://camo.githubusercontent.com/4d8b08d797a10e0e80b6e480bda6df39ab4d604b6e65ea9cf0673b2637ea4da7/68747470733a2f2f7472617669732d63692e6f72672f776562696e762f7068702d6c6962726172792d73696d706c797369676e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webinv/php-library-simplysign)[![Latest Stable Version](https://camo.githubusercontent.com/4d0e028ac7d3a45e0f74a691b1b3faf9894237e3b88c90d90ec076336c0f1bb2/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f73696d706c797369676e2f762f737461626c65)](https://packagist.org/packages/webinv/simplysign)[![Total Downloads](https://camo.githubusercontent.com/b5466099d360db8d8d3b3690b976f28158f51fa7c8d788a8ddc871a073b3a8cb/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f73696d706c797369676e2f646f776e6c6f616473)](https://packagist.org/packages/webinv/simplysign)[![Latest Unstable Version](https://camo.githubusercontent.com/25bea05e915a769e52741470468db41624d71618a942d38266fdc0cd4d64d082/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f73696d706c797369676e2f762f756e737461626c65)](https://packagist.org/packages/webinv/simplysign)[![License](https://camo.githubusercontent.com/3af82bc0bc8751806f7c0ad5ed938d1c03ff18ed62882d1e022805a763db74b5/68747470733a2f2f706f7365722e707567782e6f72672f776562696e762f73696d706c797369676e2f6c6963656e7365)](https://packagist.org/packages/webinv/simplysign)

SimplySign webservice client

Installation
============

[](#installation)

`composer require eideasy/simplysign`

Usage
=====

[](#usage)

1. Configuration
----------------

[](#1-configuration)

```
use Webinv\SimplySign\Connection;
use Webinv\SimplySign\Client\Authorization;

$connection = new Connection([
    'client_id' => '**client_id**',
    'client_secret' => '**client_secret**',
    'domain' => Connection::DOMAIN_TEST
]);

```

2. Authorization
----------------

[](#2-authorization)

### 2.1 Authorization Code

[](#21-authorization-code)

```
use Webinv\SimplySign\Client\Authorization;

$client = new Authorization($connection);
$redirectUrl = 'http://example.com/02-authorization-grant-token.php';

if (isset($_GET['code'])) {
    $token = $client->getAccessTokenByAuthorizationCode($redirectUrl, $_GET['code']);
    print_r($token);
} else {
    header(sprintf('Location: %s', $client->getAuthorizationUrl($redirectUrl)));
}

```

### 2.2 Resource Owner Password Credentials

[](#22-resource-owner-password-credentials)

```
use Webinv\SimplySign\Client\Authorization;

$client = new Authorization($connection);
$token = $client->getAccessTokenByEmailPassword('example@domain.com', '******');

```

2. Signing PDF document
-----------------------

[](#2-signing-pdf-document)

```
use Webinv\SimplySign\Client\SignatureFormatServicePades;
use Webinv\SimplySign\Model\Pades\SigningRequest;
use Webinv\SimplySign\Model\Pades\Signing\Credentials;

$client = new SignatureFormatServicePades($connection);

// Create token or you can obrain a new one
$token = new \Webinv\SimplySign\Model\Token([
    'access_token' => '*******************************************',
    'token_type' => 'bearer',
    'expires_in' => 7200,
    'refresh_token' => '*******************************************'
]);

$credentials = new Credentials();
$credentials->setCard('*******');
$credentials->setPin('*******');
$credentials->setToken($token->getAccessToken());

$signingRequest = new SigningRequest();
$signingRequest->setCertificateFile(__DIR__ . '/example.pem');
$signingRequest->setFile(__DIR__ . '/example.pdf');
$signingRequest->setCredentials($credentials);

$signed = $client->sign($signingRequest, $token);

file_put_contents(__DIR__ . '/signed_document.pdf', base64_decode($signed));

```

3. Certificates list
--------------------

[](#3-certificates-list)

```
use Webinv\SimplySign\Connection;
use Webinv\SimplySign\Client\SoftCardService;

$connection = new Connection([
    'client_id' => '**client_id**',
    'client_secret' => '**client_secret**',
    'domain' => Connection::DOMAIN_TEST
]);

$client = new SoftCardService($connection);

$token = new \Webinv\SimplySign\Model\Token([
    'access_token' => '*******************************************',
    'token_type' => 'bearer',
    'expires_in' => 7200,
    'refresh_token' => '*******************************************'
]);

$certificates = $client->getCertificates('**card***', $token);
foreach ($certificates as $certificate) {
    echo 'File: ' . $certificate->getFilename() . "\n\n";
    echo $certificate->getContent() . "\n\n";
}

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 58.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~77 days

Recently: every ~115 days

Total

7

Last Release

885d ago

Major Versions

v1.4 → v2.02023-09-22

v2.0 → v3.0.02023-12-15

PHP version history (2 changes)v1.0PHP &gt;=5.5

v3.0.0PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/d0ab77e3ff4e5d3faa29a3586d35c6e58963dde0a1ad7ff35fb6b2ef674366a6?d=identicon)[smartman](/maintainers/smartman)

![](https://www.gravatar.com/avatar/9c9d3ec95c72cfdd4057768bec0280627bde7fc920d291d43b105f1a32a7f5f5?d=identicon)[matsjoonas](/maintainers/matsjoonas)

---

Top Contributors

[![kardasz](https://avatars.githubusercontent.com/u/1894170?v=4)](https://github.com/kardasz "kardasz (17 commits)")[![BanalitoRaulito](https://avatars.githubusercontent.com/u/60259676?v=4)](https://github.com/BanalitoRaulito "BanalitoRaulito (9 commits)")[![matsjoonas](https://avatars.githubusercontent.com/u/7287997?v=4)](https://github.com/matsjoonas "matsjoonas (2 commits)")[![omitobi](https://avatars.githubusercontent.com/u/16482234?v=4)](https://github.com/omitobi "omitobi (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/eideasy-simplysign/health.svg)

```
[![Health](https://phpackages.com/badges/eideasy-simplysign/health.svg)](https://phpackages.com/packages/eideasy-simplysign)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[magento/community-edition

Magento 2 (Open Source)

12.1k52.1k10](/packages/magento-community-edition)[google/cloud-core

Google Cloud PHP shared dependency, providing functionality useful to all components.

343121.4M79](/packages/google-cloud-core)[wheelpros/fitment-platform-api

Magento 2 (Open Source)

12.1k1.2k](/packages/wheelpros-fitment-platform-api)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
