#112112th of 146 in Backends, databases and hosting
graphql-php
PHP implementation of the GraphQL specification, ported from graphql-js
- Stars
- 4.7k
- License
- MIT
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- PHP
4,683 on 22 Apr 20264,705 on 11 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
graphql-php is a PHP library for building GraphQL servers, based on the JavaScript reference implementation graphql-js. It installs with Composer and is compliant with the October 2021 GraphQL specification, with September 2025 compliance in progress. It is a library rather than a starter app, so you wire it into your own HTTP framework.
Who it is for: PHP developers adding a GraphQL API to an existing backend
Strengths
- Fully compliant with the October 2021 GraphQL specification
- Semantic Versioning, with public API elements marked @api in PHPDoc
- Examples directory with a README per example
- Docs site includes a class reference; MIT license
Weaknesses
- Repository is planned to move to a new home
- Only the latest version is actively developed; older ones mainly for sponsors
- September 2025 specification compliance is still in progress
- Library only: no HTTP server, UI or AI features included
What it needs
- no GPU
- Docker
- Needs PHP, Composer
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in Backends, databases and hosting
See all 146| Rank | Project | Score |
|---|---|---|
| 1 | bunJavaScript and TypeScript runtime with bundler, test runner and package manager | 93 out of 100 |
| 2 | appwriteBackend with auth, databases, storage, functions and an MCP server for agents | 93 out of 100 |
| 3 | ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills | 93 out of 100 |
| #4 | strapiHeadless CMS that generates REST and GraphQL APIs from content models | 92 out of 100 |
| #5 | traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators | 92 out of 100 |