Skip to content

youshido-php/silex-graphql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

silex-graphql

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.