TL;DR
Laravel remains my framework of choice, and I intend to experiment with the Rust version. However, recent developments in AI and software security are changing how at look at frameworks in general.
This is my perspective, based on years of software development and DevOps experience. I'd just like to hear what other think. What benefit is a framework even giving you in this day in age?
________________
So to start of, I've worked with Laravel for about 8 years now and over the course of that period went from Laravel 4 to the latest "non-Rust" version. Built a lot of projects with it and a few custom packages that we used inside the company for different projects. After a few years, at one point asked myself "why am I even using Laravel".
Then started to make my own framework. Just wanted to see if I can and for that reason also decided not to use any Composer package. Models, Controllers, a router, even a custom templating system and with it build exactly ONE project that went into production. My conclusion and the answer what Laravel gave me was simple...
Time!
Building the framework isn't hard and I believe every developer in here knows it, but we don't want to think about every single edge case what an end user can do on your app, then write tests for those cases, then error handling etc.
So we just slap a
laravel new app
in our terminal and we're good to go. It saves so much time and effort. If you haven't tried building your own framework, all I can say is, it feels like 90% of your work is done by running that single command.
Then AI came and for a while I refused to use it because more often than not I had to fix what the agent made. And once again, I asked myself "am I saving time by useing this new tool".
For a long while the answer was a clear "no". This isn't the case anymore. I've made my own LLM skills that are included in my projects, tuned them to do logic as I would do them myself, not how the agent felt "the best practice" is in that particular prompt. It allways has the full context of the project as a whole.
For example if I use something like a custom Auth macro that defines the logged in Company model:
Auth::macro('company', fn () : Company => ... );
it knows to use Auth::company(); instead of adding the whole logic of checking the session and querying the model. To do it, adding new methods in controllers that do the exact same thing as it already done in another controller. Also splitting that logic in 5 different methods that all have a single line of code. Well, it's "best practice" and that's how the LLM was trained.
Also, I'm no longer ending up with different features coded in different styles. Everything is structured the same and really easy for me to review.
The best part is I can add all this inside AGENTS.md as well as give the rest of my team the same SKILL.md so that everyone's LLM works the same. So I don't have to pull out my hair on every new feature merge request.
I know I'm not saying anything groundbreaking here, I'm just trying to express my point of view on the whole situation and to finally address the elephant in the room. This thing:
https://laravel.com/blog/introducing-laravel-for-rust
I started reading the article and one line, one single statement gave me a flashback to that original question.
Laravel Rust is built with the forward-looking perspective that humans will increasingly neither write nor manually read application code at scale.
So here we are, the same question, "why am I using Laravel in the first place". Because there is another side to this that I feel isn't really addressed a lot. I also do a lot of DevOps and with the recent exploits found on everything imaginable, my focus is much more on our servers than our app code.
Even last night I spent a few hours fixing one of our clients sites that got hacked. And sure, it's wrapped in it's own container so it can't spread, we mostly provide the hosting service to them, not web maintenece, but still, have to clean it up. The client's web site is done in Wordpress (the bane of my existance) and uses a plugin called WP-Rocket and wouldn't you know it...bam:
https://wp-rocket.me/docs/wp-rocket-security-advisory-and-mitigation-steps-for-cve-2026-125812/
reading the site's logs it was the exact exploit used.
The reason am I even mentioning this here is because these exploits got me thinking for the past few weeks. It's no longer just the Wordpress pages that are vulnerable, it's...everything with any ounce of publicly available code. Even the Linux Kernel got compromised. So why even use public frameworks any more? Just use LLMs to make your own framework and go the "security through obscurity" route, right?
Sure, on average, it's much MUCH harder to exploit a Laravel project than a Wordpress page (in my 8 years of working with Laravel, it never happened), but for how long? People are doing PC ports of GTA 6 for crying out loud and before you tell me how these ports are no where near functional, I need to remind you that the amount of progress done in a matter of 2 weeks...TWO WEEKS since the game came out on consoles is INSANE. Something like this took years to do by hand.
Think about the PHP2Shell exploit. Again, I'm not trying to debate how and if any websites even got hacked using that exploit but you have to understand how it even works. A lot of guessing what is currently written in the memory and injecting another block of code in a really precice and really tiny window of time, to do the elevated privilege execution. A human would NEVER do it. But given enough time, if it wasn't patched, there would definitely be a script that could execute it with little to no effort.
Am I crazy?
Anyway, sorry for the rant, had to get this off my chest.