Back to Packages
Laravel Linear
Stateless Linear GraphQL and OAuth 2 client for Laravel with rotating refresh tokens.
Package
PHP
Laravel
Overview
LinearOAuthClient implements a textbook OAuth 2 authorization-code flow: build the authorize URL, exchange the callback code for a token set, refresh, and revoke on disconnect. LinearClient talks GraphQL with the access token to list teams, create issues, and close them. Distinct exceptions (LinearInvalidGrant, LinearAuthFailed, LinearRequestFailed) tell you exactly why a call failed.