PHP Classes

PHP Github API Client: Access GitHub user repositories

Recommend this page to a friend!
     
  Info   Example   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 155 All time: 9,027 This week: 63Up
Version License PHP version Categories
php-github-client 1.0.0Custom (specified...5PHP 5, Web services, Project Management
Description 

Author

This package can access GitHub user repositories.

It can authenticate the current user with his Github account using OAuth so it can send API requests to perform several types of operations with the user account and repositories.

Currently it can request details from the current user account or a given user, or a given organization, as well get the total stars and forks of the user repositories.

Innovation Award
PHP Programming Innovation award winner
January 2017
Winner


Prize: One big elePHPant Plush Mascott
GitHub is the most popular repository for software projects. Nowadays many developers host their projects code in GitHub.

Many developers like to track the interest of their repositories are getting in GitHub.

This package provides means to get the repositories of a given user, as well the total number of stars and forks.

Manuel Lemos
Picture of Nahid Bin Azhar
  Performance   Level  
Name: Nahid Bin Azhar <contact>
Classes: 24 packages by
Country: United States United States
Age: 33
All time rank: 792109 in United States United States
Week rank: 44 Up6 in United States United States Up
Innovation award
Innovation award
Nominee: 6x

Winner: 2x

Example

<?php

require 'vendor/autoload.php';
require
'src/Github.php';
$config = include('config/github.php');
use
Nahid\GithubClient\Github;


$api = new Github($config);
$api->session->destroy();
echo
'<a href="'. $api->makeAuthLink('user, public_repo').'">Auth</a>';



Details

php-github-client

php-github-client is a php SDK for github api. Now you can easily access and hanlde all of github Apis. Lets enjoy :)


  Files folder image Files (11)  
File Role Description
Files folder imageconfig (1 file)
Files folder imagesrc (3 files, 2 directories)
Accessible without login Plain text file callback.php Example Example script
Accessible without login Plain text file composer.json Data Auxiliary data
Accessible without login Plain text file index.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Data Auxiliary data

  Files folder image Files (11)  /  config  
File Role Description
  Accessible without login Plain text file github.php Conf. Configuration script

  Files folder image Files (11)  /  src  
File Role Description
Files folder imageFacades (1 file)
Files folder imagehelpers (1 file)
  Plain text file ConfigManager.php Class Class source
  Plain text file Github.php Class Class source
  Plain text file GithubServiceProvider.php Class Class source

  Files folder image Files (11)  /  src  /  Facades  
File Role Description
  Plain text file Github.php Class Class source

  Files folder image Files (11)  /  src  /  helpers  
File Role Description
  Accessible without login Plain text file github.php Example Example script

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:155
This week:0
All time:9,027
This week:63Up