2017 © Pedro Peláez
 

symfony-bundle github-api-bundle

Bundle around PHP GitHub API client from KnpLabs

image

erivello/github-api-bundle

Bundle around PHP GitHub API client from KnpLabs

  • Saturday, February 16, 2013
  • by erivello
  • Repository
  • 0 Watchers
  • 3 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

GithubApiBundle

This bundle provides a simple integration of the KnpLabs PHP GitHub API client into Symfony2., (*1)

Build Status, (*2)

Installation

Installation is very easy, it makes use of [Composer][2]., (*3)

Add GithubApiBundle to your composer.json, (*4)

"require": {
    "erivello/github-api-bundle": "dev-master"
}

Register the bundle in app/AppKernel.php:, (*5)

``` php <?php // app/AppKernel.php, (*6)

public function registerBundles() { $bundles = array( // ..., (*7)

    new Erivello\GithubApiBundle\ErivelloGithubApiBundle(),
);

}, (*8)


Configure --------- ## Basic usage ``` yaml erivello_github_api: ~

Cache usage

``` yaml erivello_github_api: cache: # Select cache dir dir: '/tmp/dir' # Or select directly which cache you want to use file: '/tmp/file', (*9)


Usage ----- You can access the `php-github-api` by the `github_api` service: ``` php <?php $service = $this->container->get('github_api'); $client = $service->getClient(); $repositories = $client->api('user')->repositories('ornicar');

License

The GithubApiBundle is licensed under the MIT license., (*10)

The Versions

16/02 2013

dev-develop

dev-develop https://github.com/erivello/GithubApiBundle

Bundle around PHP GitHub API client from KnpLabs

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello

api github gist

16/02 2013

dev-master

9999999-dev https://github.com/erivello/GithubApiBundle

Bundle around PHP GitHub API client from KnpLabs

  Sources   Download

MIT

The Requires

 

by Edoardo Rivello

api github gist