webonyx/graphql-php
PHP implementation of the GraphQL specification based on the reference implementation in JavaScript observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 86
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5
- age_days: 4067
- days_rel: 19
- days_push: 8
- n_releases_24m: 62
Adoption not part of the score
4718 stars · 575 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A feature-complete PHP implementation of the GraphQL specification, based on the JavaScript reference implementation. It provides type system primitives, query parsing, validation, execution, and a standard HTTP server for building GraphQL APIs on top of existing business logic.
Use cases
- build a graphql api in php
- replace a rest api with graphql
- parse and validate graphql queries
- serve graphql over http in php
- define a graphql type system for an existing app
- add graphql endpoint to a php framework
When to choose
- you need a spec-compliant GraphQL server in PHP
- you want to expose existing business logic as a GraphQL API
- you need query validation, introspection, and rich error reporting
- you want framework-agnostic GraphQL primitives with optional integrations
When to avoid
- you only need a simple REST API without GraphQL's query flexibility
- your project is not PHP-based
- you need a full framework with opinionated structure rather than a library
Facets
library · maturity stable
graphql api-framework http-server parser serialization web-development backend apis developer-tools php cross-platform graphql-server schema-definition query-execution spec-compliant composer web-server
2 sources
- readme: https://github.com/webonyx/graphql-php · fetched 2026-08-28 · 2112111731a6
- homepage: https://webonyx.github.io/graphql-php · fetched 2026-08-29 · 598cace27a00
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| webonyx/graphql-php | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="webonyx/graphql-php")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem