PHPackages                             vojtech-dobes/php-graphql-server-nette-integration - 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. vojtech-dobes/php-graphql-server-nette-integration

ActiveLibrary[API Development](/categories/api)

vojtech-dobes/php-graphql-server-nette-integration
==================================================

2133PHPCI passing

Since Jun 9Pushed 1y ago2 watchersCompare

[ Source](https://github.com/vojtech-dobes/php-graphql-server-nette-integration)[ Packagist](https://packagist.org/packages/vojtech-dobes/php-graphql-server-nette-integration)[ RSS](/packages/vojtech-dobes-php-graphql-server-nette-integration/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

[PHP GraphQL Server](https://github.com/vojtech-dobes/php-graphql-server) integration with Nette Framework
==========================================================================================================

[](#php-graphql-server-integration-with-nette-framework)

[![Checks](https://github.com/vojtech-dobes/php-graphql-server-nette-integration/actions/workflows/checks.yml/badge.svg?branch=master&event=push)](https://github.com/vojtech-dobes/php-graphql-server-nette-integration/actions/workflows/checks.yml/badge.svg?branch=master&event=push)

This integration provides:

- `Nette\DI\CompilerExtension` for comfortable configuration
- efficient loading of resolvers directly from `Nette\DI\Container`
- Tracy-compatible error handler

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

[](#installation)

To install the latest version, run the following command:

```
composer require vojtech-dobes/php-graphql-server-nette-integration

```

This package only works along [`vojtech-dobes/php-graphql-server`](https://github.com/vojtech-dobes/php-graphql-server). Make sure to install it explicitly as well.

Minimum supported PHP version is 8.4.

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

[](#documentation)

Start by registering the Nette DI extension in your configuration:

```
extensions:
  graphql: Vojtechdobes\GraphQL\Integrations\Nette\Extension
```

The minimum configuration can look like this:

```
graphql:
  schemaPath: %appDir%/schema.graphqls
  tempDir: %tempDir%/graphql

  fieldResolvers:
    Query.ping: App\PingFieldResolver
```

Here are possible fields you can specify:

FieldMandatoryDescription`abstractTypeResolvers`noMap of abstract types to their respective resolvers (see [Resolving abstract types](https://github.com/vojtech-dobes/php-graphql-server/blob/master/docs/resolving-abstract-types.md)).`autoReload`noBy default `false`. Useful during development to automatically rebuild generated `Schema` factory class based on latest schema &amp; implementation changes.`contextFactory`noBy default `NullContextFactory`. Allows to specify `ContextFactory` service (see [Context](https://github.com/vojtech-dobes/php-graphql-server/blob/master/docs/context.md)).`enableIntrospection`noBy default `false`. Determines whether introspection should be enabled by default. Can be overridden per request.`enumClasses`noMap of enum types to PHP `BackedEnum` class (see [Native enum support](doc)).`errorHandler`noBy default `TracyErrorHandler`. Allows to specify `ErrorHandler` service (see [Handling runtime errors](https://github.com/vojtech-dobes/php-graphql-server/blob/master/docs/handling-runtime-errors.md)).`fieldResolvers`yesMap of individual fields in schema to their respective field resolvers (see [Resolving fields](https://github.com/vojtech-dobes/php-graphql-server/blob/master/docs/resolving-fields.md)).`scalarImplementations`noMap of custom scalar types to their respective implementations (see [Custom scalars](https://github.com/vojtech-dobes/php-graphql-server/blob/master/docs/custom-scalars.md)).`schemaPath`yesPath to your schema file.`tempDir`yesPath to temp directory where generated [`Schema`](https://github.com/vojtech-dobes/php-graphql-server/tree/master/src/GraphQL/TypeSystem/Schema.php) factory class will be stored.

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/920689f25a0fc31b2807556eddd47203f33c4318893bce98818cf2f3e627ee8e?d=identicon)[vojtechdobes](/maintainers/vojtechdobes)

---

Top Contributors

[![vojtech-dobes](https://avatars.githubusercontent.com/u/415925?v=4)](https://github.com/vojtech-dobes "vojtech-dobes (21 commits)")

### Embed Badge

![Health badge](/badges/vojtech-dobes-php-graphql-server-nette-integration/health.svg)

```
[![Health](https://phpackages.com/badges/vojtech-dobes-php-graphql-server-nette-integration/health.svg)](https://phpackages.com/packages/vojtech-dobes-php-graphql-server-nette-integration)
```

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35916.4M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24016.2M20](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172445.0k15](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

93459.5k6](/packages/botman-driver-telegram)

PHPackages © 2026

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