r/PHP • u/meteor5426 • 3h ago
Laravel's move into Rust got me thinking...
It reminded me of all the times Taylor and some of his most vocal supporters (especially those who work with him) mocked developers who advocated for stricter code and better coding practices within Laravel. And what do they do now? They embrace one of the strictest programming languages out there. Oh, the irony.
I'm not denying Rust's performance advantages, but I find it hard to believe that performance alone was the driving force behind this decision, especially considering the needs of most web applications.
To me, this looks more like a strategic business pivot aimed at expanding Laravel Cloud's market share and establishing a stronger source of recurring revenue.
After all, deploying a PHP-based Laravel application is incredibly easy these days. You can deploy it on cheap shared hosting, a $5 VPS, a traditional LAMP stack, a Docker container, or virtually any hosting provider that supports PHP. The ecosystem is mature, affordable, widely available, and doesn't tie you to any specific infrastructure provider.
For many small to medium-sized projects, Laravel Cloud offers convenience rather than solving an actual infrastructure problem. With Laravel Rust, however, they have an opportunity to capture a larger share of the hosting market. Many developers coming from PHP who are unfamiliar with deploying Rust applications may naturally gravitate toward Laravel Cloud. From a business perspective, it makes perfect sense.
They've also assured everyone that they won't abandon the PHP version, but I'm highly skeptical of that promise. I wouldn't be surprised if, a few years down the road, the PHP version gradually gets sidelined and eventually abandoned, followed by Taylor's loyal followers gaslighting anyone who reminds them of what was originally promised.
I just hope they don't bring the same culture of framework lock-in to the Rust ecosystem, where otherwise generic libraries gradually become framework-specific packages. (Hey, Spatie, I haven't forgotten what you did with your `data-transfer-object` package.)