PHP Classes

PHP Github API Client: Access GitHub user repositories

Recommend this page to a friend!
  Info   View files Example   View files View files (11)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 154 This week: 1All time: 9,034 This week: 560Up
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: 23 packages by
Country: United States United States
Age: 33
All time rank: 806110 in United States United States
Week rank: 51 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  
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  /  config  
File Role Description
  Accessible without login Plain text file github.php Conf. Configuration script

  Files folder image Files  /  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  /  src  /  Facades  
File Role Description
  Plain text file Github.php Class Class source

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

 Version Control Unique User Downloads Download Rankings  
 100%
Total:154
This week:1
All time:9,034
This week:560Up