Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

soosap's avatar

Turning my Laravel app into a GraphQL endpoint

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:

0 likes
46 replies
polarcubs's avatar

Instead of +1s posts, clicking the thumbs up button would be a far better option

5 likes
bowersbros's avatar

I am currently working on, and have been for a few months, support for GraphQL in laravel. I hope that it will become first-party, but will be open source on GitHub when ready. I'll update here when its ready, but if anyone wants to help me with providing feedback on structure and style then feel free to email me @gmail.com

2 likes
Next

Please or to participate in this conversation.