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

demonz's avatar

Building SPA using api instead of inertia js

Hello , I used to build websites with (laravel,react,inertia js) but now I decided to try api instead of inertia js, can someone explain it to me theoretically from routing to controller to render a view . + i also see some examples are using routing/web.php and routing/api.php + api resources .. Thanks

0 likes
1 reply

Please or to participate in this conversation.