soosap
4 years ago
2929
45
Requests

Turning my Laravel app into a GraphQL endpoint

Posted 4 years ago by soosap

Hi Jeff,

it would be awesome if you can help us with a series on how to turn a Laravel app into a GraphQL endpoint. I am sure a lot of people out there are interested to find out. I hope the Laravel community will be among the front-runners to adopt and embrace this promising technology:)

I have tried...

https://github.com/Folkloreatelier/laravel-graphql

https://github.com/webonyx/graphql-php

... and got along quite well. I managed to handle "queries" via GraphQL w/ data populated via Eloquent calls. Yet I struggle to set up "mutations". I am also not sure how to set up GraphiQL, an in-browser IDE for writing, validating, and testing GraphQL queries.

The table of contents for a potential series could be:

Please sign in or create an account to participate in this conversation.