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

Ben Taylor's avatar

Ben Taylor wrote a reply+100 XP

1mo ago

Axios Hacked! ⚠️

If you are using inertia, it seems like a good time to switch to the new http request helper in v3. https://inertiajs.com/docs/v3/the-basics/http-requests

Ben Taylor's avatar

Ben Taylor wrote a reply+100 XP

5mos ago

Does it make sense to separate data fetching logic from a controller to somewhere else?

These days you would probably just use Inertia rather than building a separate SPA frontend. If you did that, you would just change the response to an Inertia response rather than a view. Everything else in the controller would stay the same.

Ben Taylor's avatar

Ben Taylor wrote a reply+100 XP

5mos ago

Model Structure: defining 1:M over M:M relationship

Just to add to the fun. Can a hero save a city on multiple occasions?