PHPackages                             halfpastfouram/phpreddit - 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. halfpastfouram/phpreddit

Abandoned → [halfpastfouram/phpreddit](/?search=halfpastfouram%2Fphpreddit)ArchivedLibrary[API Development](/categories/api)

halfpastfouram/phpreddit
========================

Expressive PHP Reddit API wrapper with oauth2 support.

3442[1 issues](https://github.com/halfpastfouram/phpreddit/issues)PHP

Since Oct 15Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

A clean, expressive API wrapper for Reddit, written in PHP
==========================================================

[](#a-clean-expressive-api-wrapper-for-reddit-written-in-php)

Based on the work of LukeNz: [LukeNZ/phpreddit](https://github.com/LukeNZ/phpreddit)

[Read the API documentation here](https://halfpastfouram.github.io/phpreddit/)
------------------------------------------------------------------------------

[](#read-the-api-documentation-here)

Created simply because nothing else out there worked. Use by requiring in the master dev stream in your `composer.json`:

```
require: {
	"halfpastfouram/phpreddit": "dev-master@dev"
}

```

then...

```
composer require halfpastfouram/phpreddit

```

OAuth2 Integration
------------------

[](#oauth2-integration)

Simply pass in the user you wish to control and your Reddit ID and Reddit Secret:

```
use Halfpastfour\Reddit\Reddit;
$reddit = new Reddit('username', 'password', 'id', 'key');

```

Then set your user agent:

```
$reddit->setUserAgent('My awesome bot!');

```

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity32

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://avatars.githubusercontent.com/u/14158516?v=4)[bobkruithof](/maintainers/bobkruithof)[@BobKruithof](https://github.com/BobKruithof)

---

Top Contributors

[![halfpastfouram](https://avatars.githubusercontent.com/u/3202331?v=4)](https://github.com/halfpastfouram "halfpastfouram (36 commits)")

---

Tags

abandoned

### Embed Badge

![Health badge](/badges/halfpastfouram-phpreddit/health.svg)

```
[![Health](https://phpackages.com/badges/halfpastfouram-phpreddit/health.svg)](https://phpackages.com/packages/halfpastfouram-phpreddit)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M19](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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