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

jonnyso's avatar

Going Vanilla PHP - Only real experience with Laravel

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 ?

0 likes
4 replies
willvincent's avatar

Laravel doesn't add a whole lot of overhead.. I guess it's not super necessary if you're building a small one-off script with no useful output to manipulate a file or something, but it provides such a nice environment within which to build apps of basically every sort, I don't know why you'd really bother not using it, honestly.

Sure you could but.. why?

jlrdw's avatar

I forgot to mention, you can actually use "regular" php in laravel yet still have all the other goodies.

Example, for some complex queries I use regular PDO using getPdo(). Just a thought.

jonnyso's avatar

I just need to integrate two systems using their APIs, no auth, database or views. I felt that installing Laravel was a bit of an overkill.

Please or to participate in this conversation.