PHPackages                             mpscl/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. mpscl/graphql-php

ActiveLibrary[API Development](/categories/api)

mpscl/graphql-php
=================

A PHP port of GraphQL reference implementation

v0.12.5(7y ago)02MITPHPPHP &gt;=5.6

Since Aug 10Pushed 5y agoCompare

[ Source](https://github.com/mpscl/graphql-php)[ Packagist](https://packagist.org/packages/mpscl/graphql-php)[ Docs](https://github.com/webonyx/graphql-php)[ RSS](/packages/mpscl-graphql-php/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (66)Used By (0)

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

[](#graphql-php)

[![Build Status](https://camo.githubusercontent.com/a82367d0b2351cd21e92266e8b10da88df269cc356033bf2b7aacf0e0c82a3e1/68747470733a2f2f7472617669732d63692e6f72672f7765626f6e79782f6772617068716c2d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/webonyx/graphql-php)[![Code Coverage](https://camo.githubusercontent.com/6b5b7d97e9634e460cfb5798f12b360b2a91bab9544a1a3e49ad62cb12897f21/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f7765626f6e79782f6772617068716c2d7068702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/webonyx/graphql-php)[![Latest Stable Version](https://camo.githubusercontent.com/d277c347c7fb95aa465f8d1e1928ffd4532f939470b68191c4cfd0730b95dbfa/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6e79782f6772617068716c2d7068702f76657273696f6e)](https://packagist.org/packages/webonyx/graphql-php)[![License](https://camo.githubusercontent.com/3e3263bec871af5bf03596d4bab56a1c6d5844e10b4e24f757b3bf7409ffa7f2/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6e79782f6772617068716c2d7068702f6c6963656e7365)](https://packagist.org/packages/webonyx/graphql-php)

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

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

[](#installation)

Via composer:

```
composer require webonyx/graphql-php

```

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

[](#documentation)

Full documentation is available on the [Documentation site](http://webonyx.github.io/graphql-php/) as well as in the [docs](docs/) folder of the distribution.

If you don't know what GraphQL is, visit this [official website](http://graphql.org)by the Facebook engineering team.

Examples
--------

[](#examples)

There are several ready examples in the [examples](examples/) folder of the distribution with specific README file per example.

Contribute
----------

[](#contribute)

Please refer to [CONTRIBUTING.md](CONTRIBUTING.md) for information on how to contribute.

Old README.md
-------------

[](#old-readmemd)

Here is a [link to the old README.md](https://github.com/webonyx/graphql-php/blob/v0.9.14/README.md).

Keep in mind that it relates to the version 0.9.x. It may contain outdated information for newer versions (even though we try to preserve backwards compatibility).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 78.1% of commits — single point of failure

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 ~19 days

Total

57

Last Release

2821d ago

PHP version history (3 changes)v0.1PHP &gt;=5.4,&lt;8.0-DEV

v0.10.0-rc1PHP &gt;=5.5,&lt;8.0-DEV

v0.12.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1383822?v=4)[mpascale](/maintainers/mpascale)[@mpascale](https://github.com/mpascale)

---

Top Contributors

[![vladar](https://avatars.githubusercontent.com/u/115628?v=4)](https://github.com/vladar "vladar (514 commits)")[![danez](https://avatars.githubusercontent.com/u/231804?v=4)](https://github.com/danez "danez (59 commits)")[![simPod](https://avatars.githubusercontent.com/u/327717?v=4)](https://github.com/simPod "simPod (18 commits)")[![andheiberg](https://avatars.githubusercontent.com/u/820962?v=4)](https://github.com/andheiberg "andheiberg (8 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)")[![n1ru4l](https://avatars.githubusercontent.com/u/14338007?v=4)](https://github.com/n1ru4l "n1ru4l (4 commits)")[![dmongeau](https://avatars.githubusercontent.com/u/124966?v=4)](https://github.com/dmongeau "dmongeau (3 commits)")[![enumag](https://avatars.githubusercontent.com/u/539462?v=4)](https://github.com/enumag "enumag (3 commits)")[![gabidj](https://avatars.githubusercontent.com/u/3998573?v=4)](https://github.com/gabidj "gabidj (3 commits)")[![giansalex](https://avatars.githubusercontent.com/u/14926587?v=4)](https://github.com/giansalex "giansalex (2 commits)")[![camuthig](https://avatars.githubusercontent.com/u/5178217?v=4)](https://github.com/camuthig "camuthig (2 commits)")[![ilya-shaydullin](https://avatars.githubusercontent.com/u/2123117?v=4)](https://github.com/ilya-shaydullin "ilya-shaydullin (2 commits)")[![intrepion](https://avatars.githubusercontent.com/u/1489553?v=4)](https://github.com/intrepion "intrepion (2 commits)")[![kikoseijo](https://avatars.githubusercontent.com/u/1528668?v=4)](https://github.com/kikoseijo "kikoseijo (2 commits)")[![leocavalcante](https://avatars.githubusercontent.com/u/183722?v=4)](https://github.com/leocavalcante "leocavalcante (2 commits)")[![bertrandgauthier](https://avatars.githubusercontent.com/u/2471512?v=4)](https://github.com/bertrandgauthier "bertrandgauthier (2 commits)")[![petecoop](https://avatars.githubusercontent.com/u/1655361?v=4)](https://github.com/petecoop "petecoop (2 commits)")[![sarukuku](https://avatars.githubusercontent.com/u/1204559?v=4)](https://github.com/sarukuku "sarukuku (2 commits)")

---

Tags

apigraphql

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[wp-graphql/wp-graphql-woocommerce

WooCommerce bindings for WPGraphQL

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

GraphQL client for laravel/lumen

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

PHPackages © 2026

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