PHPackages                             daemionfox/patreon-feed - 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. daemionfox/patreon-feed

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

daemionfox/patreon-feed
=======================

Creates an RSS style feed from a user's Patreon posts page

3.0.4(4y ago)51976[1 issues](https://github.com/daemionfox/patreon-feed/issues)MITPHPCI failing

Since May 28Pushed 4y ago6 watchersCompare

[ Source](https://github.com/daemionfox/patreon-feed)[ Packagist](https://packagist.org/packages/daemionfox/patreon-feed)[ RSS](/packages/daemionfox-patreon-feed/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (18)Used By (0)

Patreon feed
============

[](#patreon-feed)

3rd party library to pull posts from a creator's Patreon feed and generate an RSS file.

### Usage

[](#usage)

#### Caching

[](#caching)

To cache any of Campaigns, Posts or Members add this:

```
\daemionfox\Patreon\API\Campaigns::setAllowCache(true); // Must be true to cache, default is false
\daemionfox\Patreon\API\Campaigns::setCacheDir('/path/to/cache');  // Must be set, cache will fail if not set
\daemionfox\Patreon\API\Campaigns::setCacheDir('numSeconds');  // default 14400 (4 hours)
```

To turn on caching across all things this will work:

```
\daemionfox\Patreon\API\APIAbstract::setAllowCache(true); // Must be true to cache, default is false
\daemionfox\Patreon\API\APIAbstract::setCacheDir('/path/to/cache');  // Must be set, cache will fail if not set
\daemionfox\Patreon\API\APIAbstract::setCacheDir('numSeconds');  // default 14400 (4 hours)
```

#### Data

[](#data)

```
$creator_access_token = 'sometoken_gotten_from_patreon_api_auth';
```

```
// Get Patreon posts
$patreon = \daemionfox\Patreon\API\Posts::init($creator_access_token);
$posts = $patreon->getPosts();
print_r($posts);
```

```
// Get Patreon campaign data
$patreon = \daemionfox\Patreon\API\Campaigns::init($creator_access_token);
$campaignID = $patreon->getCampaignID();
$tiers = $patreon->getTiers();
$goals = $patreon->getGoals();
```

```
// Get Patreon member data
$patreon = \daemionfox\Patreon\API\Members::init($creator_access_token);
$members = $patreon->getMembers();
print_r($members);
```

```
// Get RSS feed
$patreon = new \daemionfox\Patreon\Feed($creator_access_token);

// Optional:
$patreon->setPostLimit(20); // Sets the number of posts returned in the feed.  Default 10
$patreon->setShowPrivatePosts(true); // Decide if you want to show non-public posts in the feed

// Return the feed
$rss = $patreon->rss();

echo $rss;
```

### Changelog

[](#changelog)

###### 0.1

[](#01)

- Initial Commit

###### 0.2

[](#02)

- Changed to OOP architecture

###### 0.2.1

[](#021)

- Updated readme, and moved cachePath to a static property

###### 3.0

[](#30)

- Complete re-build from scratch using Patreon API to retrieve data

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 63.2% 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 ~94 days

Recently: every ~1 days

Total

17

Last Release

1815d ago

Major Versions

0.3.2.1 → 1.02018-04-23

0.3.3 → 1.1.12019-01-20

1.1.1 → 2.02020-03-28

2.0 → 3.02021-07-07

### Community

Maintainers

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

---

Top Contributors

[![daemionfox](https://avatars.githubusercontent.com/u/5620485?v=4)](https://github.com/daemionfox "daemionfox (24 commits)")[![criztovyl](https://avatars.githubusercontent.com/u/2174918?v=4)](https://github.com/criztovyl "criztovyl (14 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/daemionfox-patreon-feed/health.svg)

```
[![Health](https://phpackages.com/badges/daemionfox-patreon-feed/health.svg)](https://phpackages.com/packages/daemionfox-patreon-feed)
```

PHPackages © 2026

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