r/laravel • • 11h ago

Messing around with running Laravel PHP and Laravel Rust side by side

2 Upvotes

Been playing with Laravel Rust since launch and wanted to see if I could get it running alongside an existing PHP app. I put together a little package for it called Oxidize.

I’m testing it on one of my shops now. Rust handles /search and PHP does the rest. Both apps use the same domain and database, and I’m still logged in when I go to search. Looks promising so far :D

It’s early days, so if you feel like messing around with it too, I’d love to hear how it goes :)

https://github.com/jakub-lipinski/oxidize-for-laravel
Website with early docs: https://oxidize.lipinskijakub.pl/


r/laravel • • 19h ago

If AI can write Rust, why do we need Laravel Rust?

Thumbnail
amitmerchant.com
50 Upvotes

I've been thinking about Laravel's recent announcement of Laravel Rust.

With AI agents increasingly capable of writing applications in languages we barely know, I wonder if frameworks are actually becoming more important rather than less.

After all, having AI write the code is one thing. Giving it a well-established foundation to build upon is another.

I explored this idea a little further in my latest article. Although it's just my opinion.

Curious to hear what other Laravel developers think about this. Where do you see frameworks fitting into the AI-assisted development era?


r/laravel • • 17h ago

Lets talk about the future of Laravel

13 Upvotes

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.


r/laravel • • 14h ago

Nimbus is out of alpha phase: A Laravel API client with MCP server, Sandbox, Time Travel, Request Insights, and Much More

Post image
0 Upvotes

Last year, I released the first alpha in October 2025. Thirteen alpha releases later, I think it is ready. Nimbus is out of alpha, and v1.0.0 is the first stable release.

The alpha phase was to test the idea and its value. Many people found it useful and contributed with feedback and PRs or adoption.

Thus, in this release, I focused mainly on two things. I wanted the interface to feel finished and more polished, and I wanted to integrate it more into the framework to provide more convenience.

Refresher: Nimbus is an integrated HTTP client for Laravel. It automatically discovers routes, builds the payloads, impersonates users, decrypts cookies, etc.

The main features in v1.0.0 are:

  • Improved User Impersonation. Impersonate a user from a prepopulated list, pick any guard, or use scoped tokens.
  • Improved overall Laravel integration. Wider support for validation rules, reading supported query parameters for GET requests, middleware filters and hints on routes, `exists` rule support, signing URLs before sending, and much more.
  • Sandbox mode and time travel. Fake mail, events, and jobs, or time travel to another date.
  • Insight tab. See the queries, logs, events, exceptions, etc. that happened within the request.
  • MCP server. An AI agent can read your routes and send requests with the same safety rules as the UI.
  • Workspaces. Save requests as JSON files in your repo and share them through git.
  • And much more. See the full release announcement here.

Links:

If you wonder what the difference is between Nimbus and other tools like Postman, Scribe, etc., then refer to the comparison section in the README (Sadly, Reddit doesn't accept adding a link with a hashtag).

Nimbus supports PHP 8.2 and later, and Laravel 10 to 13.

Let me know if you face any issues or have feedback.


r/laravel • • 10h ago

Will Laravel Forge support Laravel Rust?

2 Upvotes

Haven't seen anything around this yet, are they expecting everyone to also move to Laravel Cloud for Rust?


r/laravel • • 13h ago

Laravel Rust: From a critical POV.

35 Upvotes

I stumbled upon this post on X, usually X is full of bots and "full of positivity". But this one raises some real questions and criticism. I think being able to communicate this and discussing it is a healthy behavior. Would love to hear fellow ex-artisans thoughts.

My POV: I love the idea of RUST, but I don't like to diss PHP to boost rust in an unfair manner for marketing purposes.

original post: https://x.com/ihxnnxs/status/2127921376707166231


r/laravel • • 10h ago

I repeated Laravel's official Rust vs PHP benchmark on Hetzner, including PHP-FPM and a €7 VPS

44 Upvotes

Since Laravel put their benchmark apps and k6 script on GitHub, I spent today rerunning it on a few Hetzner boxes I rented for a couple euros.

Same k6 script, MySQL 8.4, and I also added nginx + PHP-FPM and a €7 VPS with everything on one box since that's closer to what most of us actually run. (Their PHP number was Octane + FrankenPHP, so I ran both.)

Best clean 10 second window (req/s):

ServerLaravel RustOctane + FrankenPHPnginx + PHP-FPMRust vs Octane
1 dedicated vCPU, 4 GiB1,991 (hit 2k cap)16793at least 11.9x
€7 VPS, 2 shared vCPU, 4 GB1,013906211.2x
Same VPS, 1 vCPU, 1 GB562453112.6x

So 11 to 13x instead of 18x, mostly because Octane did better on my dedicated vCPU than on Cloud (167 vs 97) and Rust hit the 2,000 cap in the script.

Two things that surprised me on the cheap boxes:

  • Once PHP goes past its limit it just falls over instead of slowing down (at 50 req/s on 1 GB, Octane failed 66.7% and PHP-FPM failed 97.6%).
  • MySQL got OOM-killed 3 times on the 1 GB box during the PHP runs, never during Rust.

Obviously the benchmark API is tiny (10 authors, 200 chirps), so with real DB queries the gap will be smaller. Wouldn't rewrite a working app for this, just wanted to see real numbers outside Laravel Cloud.

Full write-up: https://hafiz.dev/blog/laravel-rust-vs-php-benchmark-hetzner

Scripts and raw results: https://github.com/hzeeshan/laravel-rust-bench


r/laravel • • 15h ago

Herd - Windows 11 Smart App Control regularly blocks DLLs on start

Post image
4 Upvotes

I'm curious if anybody else is inundated with popups from Windows 11 Smart App Control blocking various DDLs and modules upon starting Herd?

I've only had the popups since the last few versions (definitely since the Herd V2 update).

Smart App Control does not have a feature like with Defender, etc that lets you add specific apps or directories to an allowlist. It is either ON or OFF and I don't want to disable it for the entire operating system for Herd.

The blocks aren't consistent - it doesn't do it every time I start Herd and it isn't always for the same set of DLLs. Which is a good thing since it at least works but it makes it very tough to try resolve permanently.

Nothing else on my system triggers Smart App Control other than Herd since V2. I have tried to install different versions of PHP, remove older versions, everything is up to date...none of that worked so far.

I was keen to hear other's experience to figure out if it "doesn't work on my machine" or if it's a general issue.


r/laravel • • 9h ago

Laravel Go is Here

Thumbnail
github.com
98 Upvotes

r/laravel • • 6h ago

Introducing Laravel for Holy-C (0.2.2-omega)

43 Upvotes

https://github.com/parablesoft/laravel-holyc

After the Go and Rust ports, it was clear the community wanted a Laravel without a garbage collector, a borrow checker, or user mode. So we ported it to HolyC and it runs in Ring 0 on TempleOS from the moment the machine boots.

Everything you know is here, with better names. Artisan is now Oracle, and every command replies with a random passage. Eloquent is Revelation ORM: models are revealed, not queried. Blade is Psalms and renders in the full 16-colour VGA palette. Composer is Covenant, and Covenant require is binding. Sanctum keeps its name, since it was already perfect.

One honest note on networking: TempleOS has no TCP/IP stack, so routing is resolved by divine intervention. Requests arrive when they are meant to, and response time is eternal. In our benchmarks this made HolyC the clear winner on spiritual throughput, with zero requests served.

Installation is two steps. Step 1: install TempleOS. Step 2: there is no step 2.

Repo, roadmap, and the "From Zero to Divine" series are in the link. Networking support is coming when it is revealed.

Unofficial parody by ParableSoft. Not affiliated with Laravel LLC.

/s


r/laravel • • 6h ago

I think PHP is here to stay, and we'll deploy differently

0 Upvotes

I think I'm the only one, but I don't think the actual language doesn't matter anymore. If you ask Rust to do your coding, why not simply ask it to transform on deploy (with a pre build each time).

In other words: develop in PHP, convert to Rust and deploy.


r/laravel • • 8h ago

Laravel Cobol 0.x Release!

Post image
415 Upvotes

https://github.com/pihedy/laravel-cobol

First Rust, then Go. Why stop there?

Introducing Laravel for COBOL, an AI-first framework powered by enterprise technology from 1959.

With modern AI agents, you no longer need to understand COBOL. Or your application.

Benchmarks against PHP running on a €7 VPS are coming soon.

Ship confidently. Understand optionally.

/s


r/laravel • • 4h ago

What’s Laravel’s strategy with Rust and Go?

Thumbnail
laravel.com
55 Upvotes

I just saw that they also released Laravel Go, a day after releasing Laravel Rust. I really struggle to understand the overall strategy from Laravel.

Looking at the commit histories and contributor graphs it looks like both are vibe coded by Taylor himself pretty much alone with his agents. That is really not what I’m looking for in a framework.

https://github.com/laravel/go/graphs/contributors

https://github.com/laravel/rust/graphs/contributors

With all the resources Laravel have I would have expected them to hire one of the best developers in their respective language and ecosystems to lead the development of such projects. Taylor could guide the API design and developer experience to make it feel like Laravel. His taste is a big part of the appeal with Laravel, but it also needs to be technical excellence under the hood of a good framework. You need to be able to trust that the implementation is sound and how can a PHP developer with AI do that? Focusing on the developer experience as main selling point also doesn't make sense if they are going all in on AI.

Unfortunately, this just looks very much like a slop fest where they are just launching things without much thought behind. Is it just an experiment to what the community things and see if it sticks?

I think making one of them would have been a reasonable bet, but one guy building two new frameworks from scratch in parallell just seems strange.

What are your takes? Can you see the strategy here?