PHPackages                             mitoop/signature-sdk - 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. mitoop/signature-sdk

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

mitoop/signature-sdk
====================

v2.4.1(5mo ago)052PHPPHP ^7.4 || ^8.0

Since May 1Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/mitoop/signature-sdk)[ Packagist](https://packagist.org/packages/mitoop/signature-sdk)[ RSS](/packages/mitoop-signature-sdk/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (12)Used By (0)

Signature Sdk
=============

[](#signature-sdk)

Signature SDK is a framework-agnostic PHP library that provides secure request signing and verification logic. It is the core signing engine used by [laravel-signature](https://github.com/mitoop/laravel-signature).

Requirements
------------

[](#requirements)

- PHP 7.4 or higher
- OpenSSL extension enabled

Installation
------------

[](#installation)

Install via Composer:

```
composer require mitoop/signature-sdk
```

🚀 Quick Start
-------------

[](#-quick-start)

Signature SDK supports the following signature methods: **SHA256-RSA2048**, **SHA256-HMAC**, and **ED25519**

#### 🔐 Using RSA Signature:

[](#-using-rsa-signature)

```
use Mitoop\SignatureSdk\Client;
use Mitoop\SignatureSdk\RequestSigner;
use Mitoop\SignatureSdk\Signers\RsaSigner;

$privateKey = 'your_rsa_private_key_string';
$publicKey = 'plat_rsa_public_key_string';

$signer = new RsaSigner($privateKey, $publicKey);

$requestSigner = new RequestSigner(
    mchid: 'your_merchant_id',
    appid: 'your_app_id',
    signer: $signer,
    platformPrefix: 'MP' // Paltform prefix
);

$client = new Client(
    config: [
        'base_url' => 'https://api.example.com',
    ],
    signer: $requestSigner
);

$response = $client->post('/v1/pay', [
    'amount' => 100,
    'currency' => 'USD',
]);

$data = json_decode((string) $response->getBody(), true);

print_r($data);
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance70

Regular maintenance activity

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~25 days

Recently: every ~52 days

Total

11

Last Release

177d ago

Major Versions

v1.3.2 → v2.0.02025-06-14

PHP version history (2 changes)v1.1.1PHP ^7.4|^8.0

v2.3.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/1645a978f51dcbbc8e50a17bf7daaa12fd1b01a4b19784d0010325d78c9b53f8?d=identicon)[Mitoop](/maintainers/Mitoop)

---

Top Contributors

[![mitoop](https://avatars.githubusercontent.com/u/7368344?v=4)](https://github.com/mitoop "mitoop (28 commits)")

### Embed Badge

![Health badge](/badges/mitoop-signature-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/mitoop-signature-sdk/health.svg)](https://phpackages.com/packages/mitoop-signature-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)

PHPackages © 2026

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