This repository was archived by the owner on Aug 7, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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:
composer require caffeinated/github=~1.0
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:
'Caffeinated\Github\GithubServiceProvider',
'Github' => 'Caffeinated\Github\Facades\Github',
Caffeinated\Github\GithubServiceProvider::class,
'Github' => Caffeinated\Github\Facades\Github::class,
And that's it! With your coffee in reach, start calling on the GitHub API!