GraphQLBundle
Tools
PHP
OverblogGraphQLBundle
This Symfony bundle provides integration of GraphQL using webonyx/graphql-php
and GraphQL Relay.
It also supports:
- batching with ReactRelayNetworkLayer
- batching with Apollo GraphQL
- upload and batching upload with apollo-upload-client
Browse your version documentation:
- 1.0 (DEV)
- 0.14 (STABLE)
- 0.13 (STABLE)
- 0.12 (DEPRECATE)
- 0.11 (OBSOLETE)
- 0.10 (OBSOLETE)
- 0.9 (OBSOLETE)
- 0.8 (OBSOLETE)
Versions requirements
Proof of Concept
- mcg-web/graphql-symfony-doctrine-sandbox
- michaelperrin/blog-graphql-upload-demo
- overblog/GraphQLBundleDemo
- Samffy/graphql-poc
Documentation
- Quick start
- Installation
-
Definitions
-
Type System
- Scalars
- Object
- Interface
- Union
- Enum
- Input Object
- Lists
- Non-Null
<li> Type Inheritance </li> <li> GraphQL schema language </li> <li> Schema </li> <li> Resolver </li> <li> Experimental coroutine executor </li> <li> Solving N+1 problem </li> <li> Mutation </li> <li> Relay</p> <ul dir="auto"> <li> Connection</p> <ul dir="auto"> <li> Relay Pagination helper </li> </ul> </li> <li> Node</p> <ul dir="auto"> <li> Node </li> <li> Plural </li> <li> Global id </li> </ul> </li> <li> Mutation </li> </ul> </li> <li> Builders</p> <ul dir="auto"> <li> Field Builder </li> <li> Fields Builder </li> <li> Args Builder </li> </ul> </li> <li> Expression language </li> <li> Debug </li> <li> GraphiQL </li> <li> Upload files </li> </ul>
-
Type System
-
Data fetching
- Query batching
- Promise
- Annotations & PHP 8 Attributes
- Validation
-
Security
- Handle CORS
- Object access control
- Fields access control
- Fields public control
- Limiting query depth
- Query complexity analysis
- Disable introspection
- Errors handling
- Events
- Profiler
Talks and slides to help you start
- GraphQL in Symfony by Bernd Alter – Twitter
-
GraphQL is right in front of us, let’s do it! by Renato Mendes Figueiredo – Twitter, GitHub
-
Slides at http://talks.mefi.in/graphql-scotphp17
English
-
Video at SymfonyCamp UA 2017
English
-
Video at DPC 2017
English
-
Slides at http://talks.mefi.in/graphql-scotphp17
- A GraphQL API: From hype to production by Aurélien David – Twitter, GitHub
-
Une API GraphQL: du hype à la prod by Aurélien David – Twitter, GitHub
-
Video at PHPTour 2017 Nantes
French
-
Video at PHPTour 2017 Nantes
- Introduction to Symfony Flex and setting up OverblogGraphQLBundle with it by Renato Mendes Figueiredo – Twitter, GitHub
Community
-
Get support on Symfony devs Slack
on the dedicated channel overblog-graphql. - Get support in Telegram group Overblog GraphQL
- Follow us on GitHub
Contributing
- See contributing documentation
- Thanks to all contributors