PHPackages                             thecodingmachine/graphql-controllers - 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. thecodingmachine/graphql-controllers

Abandoned → [thecodingmachine/graphqlite](/?search=thecodingmachine%2Fgraphqlite)Library[API Development](/categories/api)

thecodingmachine/graphql-controllers
====================================

Write your GraphQL queries in simple to write controllers (using webonix/graphql-php).

v1.0.3(3y ago)117.4k3[3 issues](https://github.com/thecodingmachine/graphql-controllers/issues)[1 PRs](https://github.com/thecodingmachine/graphql-controllers/pulls)MITPHPPHP &gt;=7.1

Since Apr 10Pushed 2y ago6 watchersCompare

[ Source](https://github.com/thecodingmachine/graphql-controllers)[ Packagist](https://packagist.org/packages/thecodingmachine/graphql-controllers)[ RSS](/packages/thecodingmachine-graphql-controllers/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (3)Dependencies (7)Versions (7)Used By (0)

[![Latest Stable Version](https://camo.githubusercontent.com/65cc31a6dafdcdbf6fb06db6ee8a464111514c01546f64e97a02028e484df32e/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f762f737461626c65)](https://packagist.org/packages/thecodingmachine/graphql-controllers)[![Total Downloads](https://camo.githubusercontent.com/949f21abfa000a97546788dfccad23a777a916a2c59bbf185598925548dce2ab/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f646f776e6c6f616473)](https://packagist.org/packages/thecodingmachine/graphql-controllers)[![Latest Unstable Version](https://camo.githubusercontent.com/553997564b3ff1cf6d1bc0a7ab485cc81511b26191b46b494dd12e408db23e2c/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f762f756e737461626c65)](https://packagist.org/packages/thecodingmachine/graphql-controllers)[![License](https://camo.githubusercontent.com/c5d9dd2b325d2c12b8cbb08a145e34fa0ff50ad201322eb9c2a9b99e39512486/68747470733a2f2f706f7365722e707567782e6f72672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f6c6963656e7365)](https://packagist.org/packages/thecodingmachine/graphql-controllers)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/34430a26b6d8fb3aef7aa8bf669b3386a3388fdc183c02f75e3317b725b804bb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/thecodingmachine/graphql-controllers/?branch=master)[![Build Status](https://camo.githubusercontent.com/81b87418056ecfc0e023c2dbd172fbaeb8ca4797a693a20f35bffebbaca42bc8/68747470733a2f2f7472617669732d63692e6f72672f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/thecodingmachine/graphql-controllers)[![Coverage Status](https://camo.githubusercontent.com/cf8f32e813b7827363b089d1e940788b5721812da5d34472d15731bbce9e26a3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f746865636f64696e676d616368696e652f6772617068716c2d636f6e74726f6c6c6572732f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/thecodingmachine/graphql-controllers?branch=master)

DEPRECATED.
===========

[](#deprecated)

This library has moved to
==========================================================================

[](#this-library-has-moved-to-httpsgithubcomthecodingmachinegraphqlite)

GraphQL controllers
===================

[](#graphql-controllers)

A utility library on top of `webonyx/graphql-php` library.

Note: v1 and v2 of this library was built on top of `youshido/graphql`.

This library allows you to write your GraphQL queries in simple-to-write controllers.

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 99.2% 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 ~354 days

Recently: every ~400 days

Total

6

Last Release

1235d ago

Major Versions

v1.0.0 → 2.0.x-dev2018-09-26

### Community

Maintainers

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

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

---

Top Contributors

[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (260 commits)")[![Zheness](https://avatars.githubusercontent.com/u/5830103?v=4)](https://github.com/Zheness "Zheness (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thecodingmachine-graphql-controllers/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M334](/packages/api-platform-core)[oro/platform

Business Application Platform (BAP)

645143.5k114](/packages/oro-platform)[moonshine/moonshine

Laravel administration panel

1.3k253.1k78](/packages/moonshine-moonshine)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k48](/packages/ecotone-ecotone)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)

PHPackages © 2026

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