#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
Stars, last 29 weeks+22
22 Apr 2026: 4,683 stars29 Apr 2026: 4,684 stars6 May 2026: 4,685 stars13 May 2026: 4,687 stars20 May 2026: 4,689 stars27 May 2026: 4,690 stars3 Jun 2026: 4,690 stars10 Jun 2026: 4,691 stars17 Jun 2026: 4,692 stars24 Jun 2026: 4,693 stars1 Jul 2026: 4,694 stars8 Jul 2026: 4,695 stars15 Jul 2026: 4,695 stars22 Jul 2026: 4,695 stars29 Jul 2026: 4,696 stars5 Aug 2026: 4,698 stars12 Aug 2026: 4,698 stars19 Aug 2026: 4,700 stars26 Aug 2026: 4,700 stars2 Sept 2026: 4,700 stars9 Sept 2026: 4,700 stars16 Sept 2026: 4,700 stars23 Sept 2026: 4,700 stars30 Sept 2026: 4,700 stars7 Oct 2026: 4,702 stars14 Oct 2026: 4,703 stars21 Oct 2026: 4,703 stars28 Oct 2026: 4,704 stars4 Nov 2026: 4,704 stars11 Nov 2026: 4,705 stars

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
Also in Backends, databases and hosting
RankProjectScore
1bunJavaScript and TypeScript runtime with bundler, test runner and package manager96.7k stars+697 (+0.7%) in 30 dayscustom license93 out of 100
2appwriteBackend with auth, databases, storage, functions and an MCP server for agents Live demo ↗ (opens in a new tab)58.1k stars+546 (+0.9%) in 30 daysBSD-3-Clause93 out of 100
3ormTypeScript ORM for PostgreSQL and MongoDB with a plugin SPI and agent skills47.7k starsApache-2.093 out of 100
#4strapiHeadless CMS that generates REST and GraphQL APIs from content models Live demo ↗ (opens in a new tab)73.5k starscustom license92 out of 100
#5traefikHTTP reverse proxy and load balancer that auto-discovers routes from orchestrators65.5k starsMIT92 out of 100