This is a fork of overblog/graphql-bundle. For now, you're probably better off using that.
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
- Change the dependencies in composer.json (it replaces overblog/graphql-bundle, overblog/dataloader-php, overblog/dataloader-bundle, redeye/graphql-federation-bundle and some aspects of redeye/graphql-extras-bundle)
- Change bundle classes in
bundles.php
- Change config key from
overblog_graphql
toredeye_graphql
in your config file. (restore config files if removed by composer) - If using Federation, set
federation: true
in your config - Change the bundle reference in your routing config
- Do a search across your project for
Overblog\PromiseAdapter
and replace withRedeye\GraphQLBundle\PromiseAdapter
- Do a search across your project for
Overblog\DataLoader
and replace withRedeye\GraphQLBundle\DataLoader
- Do a search across your project for
Redeye\GraphqlExtrasBundle\DataLoader
and replace withRedeye\GraphQLBundle\DataLoader
- Do a search across your project for use
Apollo\Federation
and replace withRedeye\GraphQLBundle\Federation
- Do a search across your project for
Overblog
(case insensitive). In most cases you just need to replace these withRedeye
(same case)
- mcg-web/graphql-symfony-doctrine-sandbox
- michaelperrin/blog-graphql-upload-demo
- redeye/GraphQLBundleDemo
- Samffy/graphql-poc
- Quick start
- Installation
- Definitions
- Data fetching
- Annotations & PHP 8 Attributes
- Validation
- Security
- Errors handling
- Events
- Profiler
- 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 RedeyeGraphQLBundle with it by Renato Mendes Figueiredo - Twitter, GitHub
- Get support on Symfony devs Slack on the dedicated channel redeye-graphql.
- Get support in Telegram group Redeye GraphQL
- Follow us on GitHub