This is a Laravel 5 GitHub API Wrapper package that is heavily influenced by both KNP Labs php-github-api client and Graham Campbell's Laravel-GitHub package. It's essentially a merger of the two packages born out of the need for more control over the code base for some personal projects.
- Utilizes GuzzleHttp v5.0
- Certification verification is disabled
- Only supports token authentication for the time being
- Has very few API implementations
You will find user friendly and updated documentation in the wiki here: Caffeinated Github Wiki
Begin by installing the package through Composer.
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::class,
'Github' => Caffeinated\Github\Facades\Github::class,
And that's it! With your coffee in reach, start calling on the GitHub API!