PHPackages                             ggsoftwarellc/nitropay-sponsor-php - 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. [Payment Processing](/categories/payments)
4. /
5. ggsoftwarellc/nitropay-sponsor-php

ActiveLibrary[Payment Processing](/categories/payments)

ggsoftwarellc/nitropay-sponsor-php
==================================

2.2.0(3y ago)09632MITPHPPHP &gt;=7.1.0CI failing

Since Jul 4Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ggsoftwarellc/nitropay-sponsor-php)[ Packagist](https://packagist.org/packages/ggsoftwarellc/nitropay-sponsor-php)[ RSS](/packages/ggsoftwarellc-nitropay-sponsor-php/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (8)Dependencies (2)Versions (10)Used By (0)

NitroPay Sponsor Library for PHP &gt;= 7.1
==========================================

[](#nitropay-sponsor-library-for-php--71)

Description
-----------

[](#description)

Creates a signed token for passing user identity to the sponsor client library.

Usage
-----

[](#usage)

We recommend using this as a composer package.

`composer require ggsoftwarellc/nitropay-sponsor-php`

You can then sign tokens for your users like so:

```
require __DIR__ . '/vendor/autoload.php';

$signer = new NitroPaySponsor\Signer('YOUR_PRIVATE_KEY');

$token = $signer->sign([
    'siteId' => '109', // required
    'userId' => '39281', // required
    'email '=> 'example@example.com', // optional
    'avatar' => 'https://s.gravatar.com/avatar/0d3964876826ac9554d88d5a51ea87a2?s=80', // optional
    'name' => 'John Doe', // optional
]);
```

Follow the instructions in the [sponsor documentation](https://docs.nitropay.com/en/collections/2098552-sponsor) for what to do with the token from there.

You can use `$signer->getUserSubscription($userID)` to look up subscription info for a user.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 60.9% 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 ~138 days

Recently: every ~239 days

Total

9

Last Release

1443d ago

Major Versions

1.0.4 → 2.0.02020-04-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/92b956749d8c60c399c9af1c00b0cd2ecc99ecaa047208193990ec5c63fa2329?d=identicon)[mdurrant](/maintainers/mdurrant)

---

Top Contributors

[![mdurrant](https://avatars.githubusercontent.com/u/1095505?v=4)](https://github.com/mdurrant "mdurrant (14 commits)")[![thecodeassassin](https://avatars.githubusercontent.com/u/939775?v=4)](https://github.com/thecodeassassin "thecodeassassin (5 commits)")[![spiffyjr](https://avatars.githubusercontent.com/u/2760734?v=4)](https://github.com/spiffyjr "spiffyjr (4 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ggsoftwarellc-nitropay-sponsor-php/health.svg)

```
[![Health](https://phpackages.com/badges/ggsoftwarellc-nitropay-sponsor-php/health.svg)](https://phpackages.com/packages/ggsoftwarellc-nitropay-sponsor-php)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[aporat/store-receipt-validator

PHP receipt validator for Apple App Store and Amazon Appstore

6513.9M11](/packages/aporat-store-receipt-validator)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.4M514](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.6k](/packages/contao-core-bundle)[shopware/administration

Administration frontend for the Shopware Core

404.2M105](/packages/shopware-administration)[drenso/symfony-oidc-bundle

OpenID connect bundle for Symfony

95714.0k3](/packages/drenso-symfony-oidc-bundle)

PHPackages © 2026

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