Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Github Api Laravel Package

knplabs/github-api

Lightweight, well-tested PHP wrapper for GitHub APIs v3 (REST) and v4 (GraphQL). PSR-17/PSR-18 compatible via HTTPlug, with easy setup using Guzzle, Symfony HttpClient, or other PSR clients. Supports framework integrations (Laravel via graham-campbell/github).

View on GitHub
Deep Wiki
Context7

Applications API

Back to the navigation

Wraps GitHub Applications API.

Create a new installation token

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

Find all installations for the authenticated application.

$installations = $client->api('apps')->findInstallations();

Find installations for a user

$installations = $client->api('current_user')->installations();

List repositories

List repositories that are accessible to the authenticated installation.

$repositories = $client->api('apps')->listRepositories($userId);

List repositories for a given installation and user

$repositories = $client->api('current_user')->repositoriesByInstallation($installationId, $parameters);

Add repository to installation

$client->api('apps')->addRepository($installationId, $repositoryId);

Remove repository from installation

$client->api('apps')->removeRepository($installationId, $repositoryId);

Get authenticated app

$authenticatedApp = $client->api('apps')->getAuthenticatedApp();
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation