youshido/silex-graphql

Silex graphql controller provider

Installs: 1 236

Dependents: 0

Suggesters: 0

Security: 0

Stars: 8

Watchers: 4

Forks: 0

pkg:composer/youshido/silex-graphql

v0.0.2 2016-06-02 14:04 UTC

This package is not auto-updated.

Last update: 2025-09-28 00:40:06 UTC


README

This is a Silex controller provider to PHP GraphQL Library

To add GraphQL server to your project, just add these lines to your php file:

$schema = new YourProjectSchema();
$app->mount('/graphql', new GraphQLControllerProvider($schema));

GraphQL schema definition documentation with examples you can find here.