Level 75
If you need to view the data, yes, otherwise, no, so depends on what you are doing with the data.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I see in a lot of laravel API examples, they put in controllers return view
If you need to view the data, yes, otherwise, no, so depends on what you are doing with the data.
Please or to participate in this conversation.