Wraps GitHub Applications API.
For the installation id 123 use the following:
$token = $client->api('apps')->createInstallationToken(123);
To create an access token on behalf of a user with id 456 use:
$token = $client->api('apps')->createInstallationToken(123, 456);
Find all installations for the authenticated application.
$installations = $client->api('apps')->findInstallations();
$installations = $client->api('current_user')->installations();
List repositories that are accessible to the authenticated installation.
$repositories = $client->api('apps')->listRepositories(456);
$repositories = $client->api('current_user')->repositoriesByInstallation(456);
Add a single repository to an installation.
$client->api('apps')->addRepository(123);
Remove a single repository from an installation.
$client->api('apps')->removeRepository(123);