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)0954↓100%2MITPHPPHP &gt;=7.1.0

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 1mo 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 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 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

1397d 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

[omnipay/paypal

PayPal gateway for Omnipay payment processing library

3156.8M53](/packages/omnipay-paypal)[eduardokum/laravel-boleto

Biblioteca com boletos para o laravel

626351.9k2](/packages/eduardokum-laravel-boleto)[tbbc/money-bundle

This is a Symfony bundle that integrates moneyphp/money library (Fowler pattern): https://github.com/moneyphp/money.

1961.9M](/packages/tbbc-money-bundle)[2checkout/2checkout-php

2Checkout PHP Library

83740.3k2](/packages/2checkout-2checkout-php)[smhg/sepa-qr-data

Generate QR code data for SEPA payments

61717.2k5](/packages/smhg-sepa-qr-data)[omnipay/coinbase

Coinbase driver for the Omnipay payment processing library

18558.8k1](/packages/omnipay-coinbase)

PHPackages © 2026

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