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

Authorizations API

Back to the navigation

Creating, deleting and listing authorizations. Wraps GitHub Authorizations API.

List all authorizations.

$authorizations = $github->api('authorizations')->all();

Get a single authorization

$authorization = $github->api('authorizations')->show(1);

Update an authorization

You can update note.

$data = array(
    'note' => 'This is new note'
);

$authorization = $github->api('authorizations')->update(1234, $data);

Delete an authorization

$authorization = $github->api('authorizations')->remove(1234);

Check an authorization

$authorization = $github->api('authorizations')->check(1234, 'token');

Reset an authorization

$authorization = $github->api('authorizations')->reset(1234, 'token');

Revoke an authorization

$github->api('authorizations')->revoke(1234, 'token');

Revoke all authorizations

$github->api('authorizations')->revokeAll(1234);
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.
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours