graham-campbell/github
Laravel bridge to the KnpLabs PHP GitHub API. Provides a configurable GitHub client via a manager, with Laravel-friendly service container integration, facades, and multi-connection support for GitHub authentication and requests.
knplabs/github-api (e.g., custom rate-limiting logic).Adopt if:
GitHub::issues()->show() than raw HTTP clients).Look elsewhere if:
Github\Client (e.g., modifying request/response pipelines). Consider forking or extending knplabs/github-api directly.laravel-webhooks or spatie/laravel-webhook-server instead).For Executives:
"This package lets us integrate with GitHub’s API 10x faster by handling authentication, caching, and connection switching automatically—like a ‘GitHub SDK for Laravel.’ For example, we can fetch a user’s repos with a single line of code (GitHub::repo()->show()) instead of writing custom HTTP clients. It’s secure (supports OAuth, private keys), scalable (multi-environment support), and maintained (actively updated for Laravel 13/PHP 8.5). This reduces dev time for GitHub-related features and aligns with our roadmap for developer tools and automation."
For Engineering:
*"This is a thin, opinionated wrapper around knplabs/github-api that gives us:
GitHub::issues()->create()) with dependency injection support.GitHub::connection('ci')->repo()->...).Tradeoffs:
Github\Client under the hood.Proposal: Use this for any new GitHub integration (e.g., issue trackers, repo metadata). For existing custom clients, assess migration effort—likely worth it for teams with >3 GitHub endpoints."*
How can I help you explore Laravel packages today?