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

zaster's avatar

Is it a good idea to develop all web based projects using REST API

Is it a good idea to develop all web based projects using REST API?

0 likes
1 reply
Jaytee's avatar
Jaytee
Best Answer
Level 39

I do. But also note that GraphQL is used just as much now, which is not RESTful.

I personally haven't learned Graph yet, and for now, don't intend to. I find it requires a lot of work just to customize your json responses for your API.

In Laravel, REST is standard. Conforming to REST in Laravel, both route definitions and controller methods, makes developing applications even better.

I see some people conforming to REST, but then also having a controller with 10-15 methods. It just becomes messy.

Please or to participate in this conversation.