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).
Creating, deleting and listing authorizations. Wraps GitHub Authorizations API.
$authorizations = $github->api('authorizations')->all();
$authorization = $github->api('authorizations')->show(1);
You can update note.
$data = array(
'note' => 'This is new note'
);
$authorization = $github->api('authorizations')->update(1234, $data);
$authorization = $github->api('authorizations')->remove(1234);
$authorization = $github->api('authorizations')->check(1234, 'token');
$authorization = $github->api('authorizations')->reset(1234, 'token');
$github->api('authorizations')->revoke(1234, 'token');
$github->api('authorizations')->revokeAll(1234);
How can I help you explore Laravel packages today?