Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Installation

Shea Lewis edited this page Jun 28, 2015 · 2 revisions

Begin by installing the package through Composer. Depending on what version of Laravel you are using (5.0 or 5.1), you'll want to pull in the ~1.0 or ~2.0 release, respectively:

Laravel 5.0.x

composer require caffeinated/github=~1.0

Laravel 5.1.x

composer require caffeinated/github=~2.0

Once this operation is complete, simply add both the service provider and facade classes to your project's config/app.php file:

Laravel 5.0.x

Service Provider
'Caffeinated\Github\GithubServiceProvider',
Facade
'Github' => 'Caffeinated\Github\Facades\Github',

Laravel 5.1.x

Service Provider
Caffeinated\Github\GithubServiceProvider::class,
Facade
'Github' => Caffeinated\Github\Facades\Github::class,

And that's it! With your coffee in reach, start calling on the GitHub API!

Table of Contents
  1. Home
  2. Installation
  3. Configuration
API References
Clone this wiki locally