I'd still use MVC, just write a small custom mvc framework.
An example: https://github.com/panique/mini3
But why, you have to write your own auth, csrf, etc. Just curious.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
So a bit of context. My first job as a PHP developer already required me to use Laravel, so even though I already knew at least how to write PHP I never really got to work with just PHP.
Now I find myself in need to write some simpler stuff without having to install a hole framework to do it. So what would you say are the gotchas I should look in to when going to vanilla from a Laravel background ?
Please or to participate in this conversation.