2017 © Pedro Peláez
 

library github-api-wrapper

PHP7 Github API Wrapper

image

saiik/github-api-wrapper

PHP7 Github API Wrapper

  • Thursday, April 19, 2018
  • by saikon
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Github API Wrapper

Connect to github and fetch user / repository data. It's easy and fast!, (*1)

Requirements

  • PHP 7
  • GuzzleHTTP
  • Composer

Install

Install with composer, run:, (*2)

composer require saiik/github-api-wrapper

Github Token

Visit Github settings to get a github access token., (*3)

Quickstart

Connect to github, (*4)

require_once 'vendor/autoload.php';

$token = 'YOUR_GITHUB_TOKEN';

$github = new \saiik\Github($token);

Get all user repositories, (*5)

$repos = $github->getRepos();

Get a specify repository, (*6)

// you need to have access to the repository
$repo = $github->getRepo('REPO_OWNER', 'REPO_NAME');

Get all commits from a repository, (*7)

$repo = $github->getRepo('saiik', 'dodu');
$commits = $github->getCommits($repo);

See? It's pretty easy and not overloaded., (*8)

View the full documentation in the wiki., (*9)

Changelog

-, (*10)

License

GNU GPLv3, (*11)

The Versions

19/04 2018

dev-master

9999999-dev

PHP7 Github API Wrapper

  Sources   Download

GPLv3

The Requires

 

by Tobias Fuchs

api github

19/04 2018

dev-dev

dev-dev

PHP7 Github API Wrapper

  Sources   Download

GPLv3

The Requires

 

by Tobias Fuchs

api github

19/04 2018

v1.0.1

1.0.1.0

PHP7 Github API Wrapper

  Sources   Download

GPLv3

The Requires

 

by Tobias Fuchs

api github

18/10 2016

v1.0

1.0.0.0

PHP7 Github API Wrapper

  Sources   Download

GPLv3

The Requires

 

by Tobias Fuchs

api github