youshido / silex-graphql
Silex graphql controller provider
v0.0.2
2016-06-02 14:04 UTC
Requires
- php: >=5.5
- silex/silex: ~2.0
- youshido/graphql: ~1.1
This package is not auto-updated.
Last update: 2024-11-09 20:06:58 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.