PHPackages                             brannow/graphql-php - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. brannow/graphql-php

ActiveLibrary[API Development](/categories/api)

brannow/graphql-php
===================

a Fork of the webonyx/graphql-php - A PHP port of GraphQL reference implementation

1.2.1(4w ago)04.6k↑475%MITPHPPHP ^7.4 || ^8CI passing

Since Oct 23Pushed 4w agoCompare

[ Source](https://github.com/brannow/graphql-php)[ Packagist](https://packagist.org/packages/brannow/graphql-php)[ Docs](https://github.com/brannow/graphql-php)[ GitHub Sponsors](https://github.com/spawnia)[ Fund](https://opencollective.com/webonyx-graphql-php)[ RSS](/packages/brannow-graphql-php/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (10)Dependencies (62)Versions (15)Used By (0)

graphql-php
===========

[](#graphql-php)

**This repository is planned to move to a new home.****See the [announcement](https://github.com/webonyx/graphql-php/discussions/1912) for details and to share feedback.**

This is a PHP implementation of the [GraphQL](https://graphql.org) [specification](https://github.com/graphql/graphql-spec)based on the [reference implementation in JavaScript](https://github.com/graphql/graphql-js).

Fully compliant with the [October 2021 GraphQL specification](https://spec.graphql.org/October2021). [September 2025 specification](https://spec.graphql.org/September2025) compliance is [in progress](https://github.com/webonyx/graphql-php/issues/1931).

Sponsors
--------

[](#sponsors)

If you make money using this project, please consider sponsoring [its maintainer on GitHub Sponsors](https://github.com/sponsors/spawnia) or [the project on OpenCollective](https://opencollective.com/webonyx-graphql-php).

[![](https://camo.githubusercontent.com/727e5eb69d54f850f53058c51cad2ba5b6b86d8c42fb04dacc8c6694c3c467d7/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f302f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/0/website)[![](https://camo.githubusercontent.com/6b3eb038515aa4801dc258426e492829ca8c5c0a0e5ed58115efd78ec78f43f3/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f312f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/1/website)[![](https://camo.githubusercontent.com/6e2604388b4039891ead3d4e48300542f415d0978c2ee45e5cb424e2782dd81b/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f322f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/2/website)[![](https://camo.githubusercontent.com/38a7349f05938d4c5aa84fb8c51618fd8d7ac9e0f0333c5f71416728536c8975/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f332f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/3/website)[![](https://camo.githubusercontent.com/9e2bc0c10fa9e1e630f1d0d59c6969ae19d07164309f6f99cee1b0bcbbdaeb4a/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f342f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/4/website)[![](https://camo.githubusercontent.com/1f0f9f1284df69e21f673194705e726e73821b0d1639c31b73c8a5028fd68705/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f352f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/5/website)[![](https://camo.githubusercontent.com/2161015b06f379e813515d7339f2700cb6fb9104b10f0eae9e865c99821ed1d3/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f362f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/6/website)[![](https://camo.githubusercontent.com/7168dafe971bc0ef90a97a94b2333ff10db2d36e5669a3495296fd5e7c8ea17f/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f372f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/7/website)[![](https://camo.githubusercontent.com/b82c3a15fc626f1967a3972f59385ab878a77738e87dd18df7e716936edfdc0c/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f382f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/8/website)[![](https://camo.githubusercontent.com/0906e0e5cbb58644b047da65c2bc3575420bdc240752c1a20f3016911a989c40/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f73706f6e736f722f392f6176617461722e737667)](https://opencollective.com/webonyx-graphql-php/sponsor/9/website)

[![](https://camo.githubusercontent.com/497bde98127a74944b0c459904acad4ddf1e60fc4bd53f4b1d89c33e97bdb72b/68747470733a2f2f6f70656e636f6c6c6563746976652e636f6d2f7765626f6e79782d6772617068716c2d7068702f6261636b6572732e7376673f77696474683d383930)](https://opencollective.com/webonyx-graphql-php#backers)

Installation
------------

[](#installation)

Via composer:

```
composer require webonyx/graphql-php
```

Documentation
-------------

[](#documentation)

Full documentation is available at or in the [docs](docs) directory.

Examples
--------

[](#examples)

There are several ready examples in the [examples](examples) directory, with a specific README file per example.

Versioning
----------

[](#versioning)

This project follows [Semantic Versioning 2.0.0](https://semver.org/spec/v2.0.0.html).

Elements that belong to the public API of this package are marked with the `@api` PHPDoc tag. Constants included in the [class-reference docs](https://webonyx.github.io/graphql-php/class-reference) are also part of the public API. Those elements are thus guaranteed to be stable within major versions. All other elements are not part of this backwards compatibility guarantee and may change between minor or patch versions.

The most recent version is actively developed on [`master`](https://github.com/webonyx/graphql-php/tree/master). Older versions are generally no longer supported, although exceptions may be made for [sponsors](#sponsors).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance94

Actively maintained with recent releases

Popularity22

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~48 days

Recently: every ~92 days

Total

14

Last Release

28d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/08917c31f7650fae5b1fadd0b50e1cb992db0249e51ad9817f857af192bf0cae?d=identicon)[brannow](/maintainers/brannow)

---

Top Contributors

[![vladar](https://avatars.githubusercontent.com/u/115628?v=4)](https://github.com/vladar "vladar (736 commits)")[![spawnia](https://avatars.githubusercontent.com/u/12158000?v=4)](https://github.com/spawnia "spawnia (585 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (340 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (202 commits)")[![danez](https://avatars.githubusercontent.com/u/231804?v=4)](https://github.com/danez "danez (59 commits)")[![ruudk](https://avatars.githubusercontent.com/u/104180?v=4)](https://github.com/ruudk "ruudk (42 commits)")[![shmax](https://avatars.githubusercontent.com/u/773172?v=4)](https://github.com/shmax "shmax (28 commits)")[![vhenzl](https://avatars.githubusercontent.com/u/243381?v=4)](https://github.com/vhenzl "vhenzl (27 commits)")[![brannow](https://avatars.githubusercontent.com/u/19426486?v=4)](https://github.com/brannow "brannow (21 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (18 commits)")[![Torsten85](https://avatars.githubusercontent.com/u/531361?v=4)](https://github.com/Torsten85 "Torsten85 (17 commits)")[![bpteam](https://avatars.githubusercontent.com/u/1714419?v=4)](https://github.com/bpteam "bpteam (12 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (10 commits)")[![JanBukva](https://avatars.githubusercontent.com/u/7108035?v=4)](https://github.com/JanBukva "JanBukva (8 commits)")[![chriszarate](https://avatars.githubusercontent.com/u/739304?v=4)](https://github.com/chriszarate "chriszarate (8 commits)")[![andheiberg](https://avatars.githubusercontent.com/u/820962?v=4)](https://github.com/andheiberg "andheiberg (8 commits)")[![Warxcell](https://avatars.githubusercontent.com/u/3340882?v=4)](https://github.com/Warxcell "Warxcell (7 commits)")[![PowerKiKi](https://avatars.githubusercontent.com/u/72603?v=4)](https://github.com/PowerKiKi "PowerKiKi (6 commits)")[![decebal](https://avatars.githubusercontent.com/u/352761?v=4)](https://github.com/decebal "decebal (6 commits)")[![mcg-web](https://avatars.githubusercontent.com/u/1496283?v=4)](https://github.com/mcg-web "mcg-web (5 commits)")

---

Tags

apigraphql

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/brannow-graphql-php/health.svg)

```
[![Health](https://phpackages.com/badges/brannow-graphql-php/health.svg)](https://phpackages.com/packages/brannow-graphql-php)
```

###  Alternatives

[wp-graphql/wp-graphql-woocommerce

WooCommerce bindings for WPGraphQL

70459.0k](/packages/wp-graphql-wp-graphql-woocommerce)[alexaandrov/laravel-graphql-client

GraphQL client for laravel/lumen

126.5k](/packages/alexaandrov-laravel-graphql-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
