Download the PHP package evandotpro/edp-github without Composer
On this page you can find all versions of the php package evandotpro/edp-github. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download evandotpro/edp-github
More information about evandotpro/edp-github
Files in evandotpro/edp-github
Download evandotpro/edp-github
More information about evandotpro/edp-github
Files in evandotpro/edp-github
Vendor evandotpro
Package edp-github
Short Description Github API integration module for Zend Framework 2
License BSD-2-Clause
Homepage https://github.com/EvanDotPro/EdpGithub
Package edp-github
Short Description Github API integration module for Zend Framework 2
License BSD-2-Clause
Homepage https://github.com/EvanDotPro/EdpGithub
Please rate this library. Is it a good library?
Informations about the package edp-github
Github Api Module for ZF2
Introduction
EdpGithub is a Wrapper for the Github Api based on Zend Framework 2 which uses Github API v3.
Installation
Main Setup
- Clone this project into your
./vendor/
directory and enable it in yourapplication.config.php
file.
Usage
Basic Usage
Here is short example on how to use
$client = $serviceManager->get('EdpGithub\Client');
$repos = $client->api('user')->repos('hounddog');
This would fetch all the Repositories for the user Hounddog
Authentication
To use functionality which needs Authentication you have to first authenticate
$client = $serviceManager->get('EdpGithub\Client');
$client->authenticate('url_token', 'access_token');
$repos = $client->api('current_user')->repos();
You can also listen to the Event 'EdpGithub\Client', 'api'
$em->attach('EdpGithub\Client', 'api', function($e) use ($sm) {
$client = $e->getTarget();
$client->authenticate('url_token', $token /* your access_token here */);
} );
Documentation
Please refer to the Wiki for a more detailed Documentation
All versions of edp-github with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
zendframework/zend-eventmanager Version ~2.3
zendframework/zend-servicemanager Version ~2.3
zendframework/zend-http Version ~2.3
zendframework/zend-filter Version ~2.3
zendframework/zend-eventmanager Version ~2.3
zendframework/zend-servicemanager Version ~2.3
zendframework/zend-http Version ~2.3
zendframework/zend-filter Version ~2.3
The package evandotpro/edp-github contains the following files
Loading the files please wait ....