KnpLabs/php-github-api
A simple PHP GitHub API client, Object Oriented, tested and documented. observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 98
- Release rhythm 66
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 346.5
- age_days: 5262
- days_rel: 15
- days_push: 15
- n_releases_24m: 3
Adoption not part of the score
2207 stars · 587 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
An object-oriented PHP wrapper for the GitHub REST (v3) and GraphQL (v4) APIs, built on PSR-18 HTTP clients via HTTPlug. It is extensively tested, documented, and installable through Composer.
Use cases
- list a user's repositories from a PHP app
- create issues and pull requests programmatically via the GitHub API
- authenticate with GitHub tokens and call API endpoints
- query the GitHub GraphQL API v4 from PHP
- cache GitHub API responses with a PSR-6 cache pool
- integrate GitHub data into a Laravel application
When to choose
- you need to interact with the GitHub API from PHP 7.2+
- you want a decoupled client that works with any PSR-18 HTTP client
- you want a mature, tested, MIT-licensed library with framework integrations
When to avoid
- you are not working in PHP
- you need a generic REST client rather than GitHub-specific endpoints
- you need GitHub API features not yet covered by the wrapper
Facets
library · maturity stable
http-client sdk developer-tools apis version-control php github-api rest-client api-wrapper httplug composer
1 source
- readme: https://github.com/KnpLabs/php-github-api · fetched 2026-08-28 · b7f4d154061d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| KnpLabs/php-github-api | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="KnpLabs/php-github-api")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem