PHPackages                             digiaonline/lumen-graphql - 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. digiaonline/lumen-graphql

AbandonedArchivedLibrary[API Development](/categories/api)

digiaonline/lumen-graphql
=========================

GraphQL module for the Laravel and Lumen PHP frameworks.

1.1.5(7y ago)258.1k7[4 issues](https://github.com/digiaonline/lumen-graphql/issues)MITPHPPHP &gt;=7.1

Since Jan 23Pushed 7y agoCompare

[ Source](https://github.com/digiaonline/lumen-graphql)[ Packagist](https://packagist.org/packages/digiaonline/lumen-graphql)[ RSS](/packages/digiaonline-lumen-graphql/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (10)Versions (10)Used By (0)

Lumen GraphQL
=============

[](#lumen-graphql)

[![Build Status](https://camo.githubusercontent.com/d0954e8ea242a2e04523f72edc1e4e2952eb3e38ec62e34a82b37440395e8de1/68747470733a2f2f7472617669732d63692e6f72672f64696769616f6e6c696e652f6c756d656e2d6772617068716c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/digiaonline/lumen-graphql)[![Coverage Status](https://camo.githubusercontent.com/6798924939985943b429f6f532a2b86af0ccff5b7f5485a661c1a34ca6b83992/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f64696769616f6e6c696e652f6c756d656e2d6772617068716c2f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/digiaonline/lumen-graphql?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/01513040f557e6653dbc80e94592103bd0cd579d65858f243c56cc469289c3cd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f64696769616f6e6c696e652f6c756d656e2d6772617068716c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/digiaonline/lumen-graphql/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/0287d679be1550fd4b5d344e03e565931a87cdb33bad946c3c42afd1ea620f30/68747470733a2f2f706f7365722e707567782e6f72672f64696769616f6e6c696e652f6c756d656e2d6772617068716c2f762f737461626c65)](https://packagist.org/packages/digiaonline/lumen-graphql)[![Total Downloads](https://camo.githubusercontent.com/107b0bc82c917cb0b0cf866effa853f40dedfbf81e835acf669e21f7dfc09044/68747470733a2f2f706f7365722e707567782e6f72672f64696769616f6e6c696e652f6c756d656e2d6772617068716c2f646f776e6c6f616473)](https://packagist.org/packages/digiaonline/lumen-graphql)[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://raw.githubusercontent.com/digiaonline/lumen-graphql/master/LICENSE)

GraphQL module for the Laravel and Lumen PHP frameworks.

Requirements
------------

[](#requirements)

- PHP 7.1 or newer
- [Composer](http://getcomposer.org)
- [Lumen](https://lumen.laravel.com/) / [Laravel](https://laravel.com) 5.5 or newer

Usage
-----

[](#usage)

### Installation

[](#installation)

Run the following command to install the package through Composer:

```
composer require digiaonline/lumen-graphql
```

### Configure

[](#configure)

Copy the configuration template in `config/graphql.php` to your application's `config` directory and modify according to your needs. For more information see the [Configuration Files](http://lumen.laravel.com/docs/configuration#configuration-files) section in the Lumen documentation.

Available configuration options:

- **schema** `string` *Schema class name, must be an instance of `Youshido\GraphQL\Schema\Schema`*
- **type\_resolver** `string` *Type resolver class name, must be an instance of `Digia\Lumen\GraphQL\Contracts\TypeResolverInterface`*
- **processor** `string` *Optional processor class name, must be an instance of `Youshido\GraphQL\Execution\Processor`*
- **enable\_graphiql** `bool` *Whether or not the GraphiQL interface is enabled*
- **graphiql\_token** `string` *Token required for accessing the GraphiQL interface*

### Bootstrapping

[](#bootstrapping)

Add the following line to `bootstrap/app.php`:

```
$app->register(Digia\Lumen\GraphQL\GraphQLServiceProvider::class);
```

Add the following lines to `routes/web.php`:

```
$router->get('/graphql', [
    'uses' => 'Digia\Lumen\GraphQL\Http\GraphQLController@renderGraphiQL',
]);

$router->post('/graphql', [
    'uses' => 'Digia\Lumen\GraphQL\Http\GraphQLController@handle',
]);
```

**NOTE:** Make sure that your route group does not have a `namespace` attribute. Otherwise Lumen will be unable to find the `GraphQLController`.

Contributing
------------

[](#contributing)

Please read the [guidelines](.github/CONTRIBUTING.md).

License
-------

[](#license)

See [LICENSE](LICENSE).

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 54.7% 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 ~45 days

Recently: every ~67 days

Total

9

Last Release

2717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab3becb3323ceb956c661f3e6ef4312dcd00ec4ba03d1bba5fcef793f5c4286d?d=identicon)[crisu83](/maintainers/crisu83)

![](https://www.gravatar.com/avatar/d7e28ec3bf2ff3ffcdd8c947f54d53d4dae86939bea2a7316cfde0b10410e9ee?d=identicon)[Jalle19](/maintainers/Jalle19)

---

Top Contributors

[![q-hung](https://avatars.githubusercontent.com/u/199614?v=4)](https://github.com/q-hung "q-hung (35 commits)")[![Jalle19](https://avatars.githubusercontent.com/u/1106133?v=4)](https://github.com/Jalle19 "Jalle19 (14 commits)")[![hugovk](https://avatars.githubusercontent.com/u/1324225?v=4)](https://github.com/hugovk "hugovk (6 commits)")[![cniska](https://avatars.githubusercontent.com/u/1044868?v=4)](https://github.com/cniska "cniska (5 commits)")[![narendravaghela](https://avatars.githubusercontent.com/u/1432986?v=4)](https://github.com/narendravaghela "narendravaghela (4 commits)")

---

Tags

apigraphqllaravellumenrest

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/digiaonline-lumen-graphql/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M165](/packages/laravel-ai)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[saloonphp/laravel-plugin

The official Laravel plugin for Saloon

806.6M188](/packages/saloonphp-laravel-plugin)[neuron-core/neuron-laravel

Official Neuron AI Laravel SDK.

11125.7k1](/packages/neuron-core-neuron-laravel)[litalico-engineering/eg-r2

Easy request validation and route generation from open API specifications (for Laravel)

1114.6k](/packages/litalico-engineering-eg-r2)

PHPackages © 2026

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