2017 © Pedro Peláez
 

library laradit

Reddit API Wrapper for Laravel

image

jrm2k6/laradit

Reddit API Wrapper for Laravel

  • Monday, July 3, 2017
  • by jrm2k6
  • Repository
  • 1 Watchers
  • 3 Stars
  • 82 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 1 % Grown

The README.md

Installation

composer require jrm2k6/laradit, (*1)

Configuration

Add in config/app.php:, (*2)

 'providers' => [
    JD\Laradit\LaraditAuthenticationServiceProvider::class,
    JD\Laradit\LaraditResourceServiceProvider::class,
  ]

Add in your .env file:, (*3)

LARADIT_CLIENT_ID=your-client-id
LARADIT_CLIENT_SECRET=yout-client-secret
LARADIT_OAUTH_REDIRECT_URI=your-callback
LARADIT_REDDIT_USERNAME=your-username
LARADIT_REDDIT_PASSWORD=your-password
LARADIT_USER_AGENT=your-user-agent

Usage

To get a authentication token for script apps:, (*4)

LaraditAuth::getScriptAuthenticationManager()->getAccessToken();

You can then set the token:, (*5)

 Laradit::setAuthToken($authToken);

The Versions

03/07 2017

dev-master

9999999-dev https://github.com/jrm2k6/laradit

Reddit API Wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeremy Dagorn

laravel api reddit

03/07 2017

0.0.3

0.0.3.0 https://github.com/jrm2k6/laradit

Reddit API Wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeremy Dagorn

laravel api reddit

03/01 2016

0.0.2

0.0.2.0 https://github.com/jrm2k6/laradit

Reddit API Wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeremy Dagorn

laravel api reddit

02/01 2016

0.0.1

0.0.1.0 https://github.com/jrm2k6/laradit

Reddit API Wrapper for Laravel

  Sources   Download

MIT

The Requires

 

The Development Requires

by Jeremy Dagorn

laravel api reddit