PHPackages                             coliving/laravel-reddit-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. coliving/laravel-reddit-api

ActiveLibrary[API Development](/categories/api)

coliving/laravel-reddit-api
===========================

Laravel Reddit API wrapper

0.1.8(4y ago)29.6k2MITPHPPHP ^7.4|^8.0|^8.1

Since Feb 8Pushed 3y agoCompare

[ Source](https://github.com/dungnh/laravel-reddit-api)[ Packagist](https://packagist.org/packages/coliving/laravel-reddit-api)[ Docs](https://github.com/dungnh/laravel-reddit-api)[ RSS](/packages/coliving-laravel-reddit-api/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (2)Versions (12)Used By (0)

Laravel-Reddit-API
==================

[](#laravel-reddit-api)

Using this package you can easily retrieve data from Reddit API.

Laravel wrapper for

Supports Laravel 5.x, 6.x, 7.x, 8.x, 9.x

Here are a few examples of the provided methods:

```
use RedditAPI;

//fetch top Reddit posts
RedditAPI::getTop();

//fetch top picture posts of Margot Robbie, limit to 100
RedditAPI::search('Margot Robbie ', null, 'top', null, 'pics', 100);
```

Install
-------

[](#install)

This package can be installed through Composer.

```
composer require coliving/laravel-reddit-api
```

You must install this service provider.

```
// config/app.php
'providers' => [
    ...
    CodeWizz\RedditAPI\RedditAPIServiceProvider::class,
    ...
];
```

This package also comes with a facade, which provides an easy way to call the the class.

```
// config/app.php
'aliases' => [
    ...
    'RedditAPI' => CodeWizz\RedditAPI\RedditAPIFacade::class,
    ...
];
```

You should publish the config file of this package with this command:

```
php artisan vendor:publish --provider="CodeWizz\RedditAPI\RedditAPIServiceProvider"
```

The following config file will be published in `config/reddit-api.php`

```
return [
    'endpoint_standard' => 'https://www.reddit.com',
    'endpoint_oauth' => 'https://oauth.reddit.com',

    'username' => '',
    'password' => '',
    'app_id' => '',
    'app_secret' => '',

    'response_format' => 'STD', // STD | ARRAY

    'scopes' => 'save,modposts,identity,edit,flair,history,modconfig,modflair,modlog,modposts,modwiki,mysubreddits,privatemessages,read,report,submit,subscribe,vote,wikiedit,wikiread'
];
```

About CodeWizz
--------------

[](#about-codewizz)

CodeWizz is a web development agency based in Lithuania. You'll find more information [on our website](https://codewizz.com).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 61.5% 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 ~235 days

Recently: every ~169 days

Total

9

Last Release

1497d ago

PHP version history (4 changes)0.1PHP &gt;=5.4.0

0.1.4PHP ^7.2.5

0.1.6PHP ^7.4|^8.0

0.1.8PHP ^7.4|^8.0|^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/724121?v=4)[coliving](/maintainers/coliving)[@coliving](https://github.com/coliving)

---

Top Contributors

[![dungnh](https://avatars.githubusercontent.com/u/1852709?v=4)](https://github.com/dungnh "dungnh (8 commits)")[![linaspasv](https://avatars.githubusercontent.com/u/1407067?v=4)](https://github.com/linaspasv "linaspasv (2 commits)")[![xdvx](https://avatars.githubusercontent.com/u/5551933?v=4)](https://github.com/xdvx "xdvx (2 commits)")[![Flerex](https://avatars.githubusercontent.com/u/3910120?v=4)](https://github.com/Flerex "Flerex (1 commits)")

---

Tags

apilaravelredditcolivingcodewizzlaravel-reddit-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/coliving-laravel-reddit-api/health.svg)

```
[![Health](https://phpackages.com/badges/coliving-laravel-reddit-api/health.svg)](https://phpackages.com/packages/coliving-laravel-reddit-api)
```

###  Alternatives

[andreaselia/laravel-api-to-postman

Generate a Postman collection automatically from your Laravel API

1.0k586.2k3](/packages/andreaselia-laravel-api-to-postman)[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[api-ecosystem-for-laravel/dingo-api

A RESTful API package for the Laravel and Lumen frameworks.

3121.5M10](/packages/api-ecosystem-for-laravel-dingo-api)[codewizz/laravel-reddit-api

Laravel Reddit API wrapper

254.5k](/packages/codewizz-laravel-reddit-api)[smodav/mpesa

M-Pesa API implementation

16363.7k1](/packages/smodav-mpesa)[specialtactics/l5-api

Dependencies for the Laravel API Boilerplate package

3672.8k2](/packages/specialtactics-l5-api)

PHPackages © 2026

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