Download the PHP package rmasters/github-service-provider without Composer
On this page you can find all versions of the php package rmasters/github-service-provider. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rmasters/github-service-provider
More information about rmasters/github-service-provider
Files in rmasters/github-service-provider
Download rmasters/github-service-provider
More information about rmasters/github-service-provider
Files in rmasters/github-service-provider
Vendor rmasters
Package github-service-provider
Short Description Pimple service provider for KnpLabs' GitHub API wrapper
License MIT
Package github-service-provider
Short Description Pimple service provider for KnpLabs' GitHub API wrapper
License MIT
Please rate this library. Is it a good library?
Informations about the package github-service-provider
Pimple GitHub API service provider
Provides the KnpLabs GitHub API wrapper to Pimple (Silex, Cilex) applications.
Installation
-
Composer require this package:
composer require "rmasters/github-service-provider:~1.0"
- Register in your application:
This package requires Pimple 3.x and uses the ServiceProviderInterface and Container interfaces/type-hints that it provides. Silex 2.0 supports this, and Cilex should do soon.
Configuration
You can modify the GitHub\Client
construction by extending these services:
Service | Description | Default |
---|---|---|
github.client | The Github\Client instance | Github\Client |
github.httpclient | The HttpClient used for making requests | CachedHttpClient |
github.httpclient.caching | When true, uses a CachedHttpClient | true |
github.httpclient.options | Options array passed to HttpClient | [] |
github.httpclient.cache | The Response cache to use | FilesystemCache |
github.httpclient.cache.path | When using FilesystemCache, where to store cached responses | sys_get_temp_dir() |
To change these, extend or replace the service, for example:
License
Released under the MIT License.
All versions of github-service-provider with dependencies
PHP Build Version
Package Version
The package rmasters/github-service-provider contains the following files
Loading the files please wait ....