PHPackages                             rdx/patreon-user-api - 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. [API Development](/categories/api)
4. /
5. rdx/patreon-user-api

ActiveLibrary[API Development](/categories/api)

rdx/patreon-user-api
====================

Fake API client for Patreon user data

00PHP

Since Mar 30Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/rudiedirkx/patreon-api-client)[ Packagist](https://packagist.org/packages/rdx/patreon-user-api)[ RSS](/packages/rdx-patreon-user-api/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

patreon-user-api
================

[](#patreon-user-api)

Fake API client for Patreon user data.

Since Patreon doesn't have a real API, and you definitely have 2fa enabled, you can't log in with this package, so you need to log in with a real browser, copy 1 cookie value, and use that for auth:

```
$client = new Client(new AuthSession("Cookie 'session_id'"));
```

And then you do a 'login' (but not really) and session check:

```
$loggedIn = $client->logIn(); // bool
```

Or you can make your own real login implementation. See interface `Auth` and class `AuthSession`.

And then you can fetch your user data:

```
$client->getPledges(); // Pledge[]

$client->getFollows(); // Follow[]

$client->getBills(year: 2020); // Bill[]
print_r($client->billableYears); // int[]
```

All of those will contain `Creator` objects, with `id` and `campaignId`, and you need those to:

```
$follow = $client->follow($creator); // Follow

$client->unfollow($follow); // void
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance59

Moderate activity, may be stable

Popularity0

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity11

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/78549c1dc5c83ec0201c9afc66762c6d5bbf770291b12bae5a7a65350f950dba?d=identicon)[rudiedirkx](/maintainers/rudiedirkx)

---

Top Contributors

[![rudiedirkx](https://avatars.githubusercontent.com/u/168024?v=4)](https://github.com/rudiedirkx "rudiedirkx (17 commits)")

### Embed Badge

![Health badge](/badges/rdx-patreon-user-api/health.svg)

```
[![Health](https://phpackages.com/badges/rdx-patreon-user-api/health.svg)](https://phpackages.com/packages/rdx-patreon-user-api)
```

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[facebook/php-business-sdk

PHP SDK for Facebook Business

90821.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

74513.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

265103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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