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

GTHell's avatar

Is Graphql faster to develop than Rest for API?

I never done any Graphql in production before but looking into Lighthouse, it seem that thing is much simpler.

Currently, I'm kinda in a trouble because the deadline is near and there're a lot of API that I haven't write yet. Will switching to Graphql right now a safe bet?

0 likes
3 replies
mabdullahsari's avatar

Switching to GraphQL won't make development magically faster. You will basically have to start over if you choose to do so.

Also, choosing a technology over another technology just because it's faster to developer with is an awfully bad idea.

2 likes
martinbean's avatar

@gthell Why would it be? They’re two totally different approaches to the same goal: exposing data to third parties. It’s like asking if Rails is quicker to develop than Laravel.

Pick the approach most suitable to your use case, not which one you think will be magically “faster”.

1 like
GTHell's avatar

@mabdullahsari Thank for reply. I myself didn't know better. I just thought it could help me do thing faster.

@martinbean Thank for advice. I will stick to my current rest api. It's 50% completely but still more. Mostly just a redundant route but a lot of them.

Please or to participate in this conversation.