I don't get this. Frameworks generally end up tied to their implementation language because they should be taking maximum advantage of whatever the language provides. You can non-idiomatically port a framework out of its home language and retain similarity as is possible, while still possibly losing some things that just can't be ported, or you can idiomatically port the framework in to the new language and get something that is harmonious with the new language but has significant deviations from the original.
Or you can split the difference and get the worst of both worlds.
It's not like you can take something that implements some particular authorization technique and cross that module between languages.
And the gap between PHP to either of Rust or Go is enormous, meaning the gap between the two choices I outline above is also going to be quite substantial.
It was a baroque implementation of a rails-style framework, that was heavily influenced by enterprise java coding style.
It's rather elegant, and exceptionally well-documented.
However it is probably not what you want for an app in the LLM era. There seem to be considerable simplifications in this design that are more appropriate for Go.
The main advantage here will be the integration with Inertia, though I guess Livewire is a much bigger challenge to implement.
Of course, that could change tomorrow with a fork, but idk if we’ll see if. If the agent is writing the code, it can slop out the same UI with Inertia. Tbh Livewire and Inertia are quite similar in that at their core, they are more both wire protocols with well defined behavior and outputs. The difference is that Inertia targets json as an output format and Livewire returns html/blade in a manner not terribly different from HTMX (though not the same and with more JS under the hood).
You have request()->params, response() in the framework But all the raw data is still there in $_GET & $_POST, file_get_contents('php://input'). You can still echo "" to the browser, and still send header() from everywhere.
It almost looks like php developers around 2009 were really wanting to write enterprise Java, but had to use php at their day jobs, so they gradually made php pretend to be something else.
I was not talking about PHP, but Laravel.
It is some sort of a cargo cult engineering where you feel like you’re building a legacy enterprise app to achieve trivial outcomes.
Not worth it at all.
But Go is great as is, not need for a Laravel on top.
Edit: The Go database and validation layers also use struct tags and runtime reflection all over the place which is truly disgusting but typical for Go.
It's somewhat like the unofficial "Goravel" port.
I think it took me maybe a week or two tops?
So yeah, this is unsurprising, I've debated porting a few different projects I love to Go or Rust similar to this endeavor but doing both Rust and Go seems excessive to me.
What? I'm not sure you know what you're talking about
Second, Taylor Otwell very clearly claims that these new Rust and Go versions aren't slop ports of Laravel (his words). They're implemented from scratch.
Third, why would doing both Go and Rust be excessive? There is no value in changing the language of a framework to begin with, because the framework is tied to the language by design. So the only reason to reimplement it is to attract developers from the new language. And if it's as easy as you claim to create such port, then why wouldn't they want to attract both Go and Rust developers??
Correct, I misspoke when I meant to say Bun, that's on me.
> Second, Taylor Otwell very clearly claims that these new Rust and Go versions aren't slop ports of Laravel (his words). They're implemented from scratch.
He did it in 8 weeks with AI, I'm not calling it Slop, but just want to be very clear that AI was definitely involved, which is what I'm suggesting is that the right developer paired with an AI model can port a project they're familiar with to a new language. I've spent most of my career involved in total rewrite projects, they don't just happen in 8 weeks, with a single developer.
> Third, why would doing both Go and Rust be excessive? Instead of focusing on one single instance of Laravel, or even two now he's focusing on three renditions of it, it's a bit of mental overhead to manage and maintain something that could be so critical to many businesses.
I do love this initiative either way, both Go and Rust in my eyes need something like Laravel, I never found something quite like a Laravel in either, there's some close ones in Rust, but they're not adopted industry wide as far as I can tell.
All of that to say if you've never used Laravel for "easy" apps you have no idea how productive you can be. Blade is a _fantastic_ templating language and support for partials paired with HTMX is painless. I would have liked to see them use templ...
I'm optimistic to see how this shakes out and will give it a spin on my next project.
Coming from Django I thought that too but now that I have made a few LLM-assisted ports of Django apps to Go I'm not so sure. Even pluggable apps are possible with Caddy.
This being from the creator of Laravel makes it very interesting too.
I can see how this might be triggering to PHP folks and Golang folks too, given the typical stance that large batteries included frameworks aren't a good fit for go. But not sure I agree with that - I definitely notice a lot of repeated patterns building small personal web services in Go, and that makes me still gravitate back towards Django. (Admittedly this is probably less of a concern building large tools).
It’s the obvious missing one, given languages popularity and available devs.
I also remember I heard Taylor say (I think it was in a podcast) a few years ago that if he had to reimplement Laravel in any language it would be Ts/js.
I think laravel-ts is not on the roadmap for now.
Nice fella, really good at coding.
It's not really something that would just work even if you had the few most popular plugins; the fundamental value of WordPress is being able to add more plugins!
It might be more feasible in a compiled language that has a JIT-type, REPL-type approach on top; Swift does.
https://laravel.com/blog/introducing-laravel-for-go
Apparently they also released Laravel Rust yesterday:
https://www.reddit.com/r/laravel/comments/1yb5lib/laravel_go...
...and a Diet Coke
I mean, what are the point of using a library of framework anyway? I can generate all the code my app needs myself, for my specific use case.
Pre-AI the whole point of frameworks was to avoid writing the same code again and again for each app by putting the most common parts into a framework.
Now that code is cheap, you can just generate it every time, who cares.
I think that this is an "and" situation, not an "or" situation.
I don't know why we would want to generate the code over and over again if we can have an abstraction and then spend our time, tokens, and future maintenance more effectively.
I agree with you if we are talking about something battle-tested like old Laravel.
But if we are talking about something slop-ported, like these new "Laravels", I don't see how it is applicable. Who says that my AI-slop will be worse than their AI-slop? Mine will probably be generated using a newer model. The moment they pushed their slop to Github it starts getting obsolete, because of the newer models being released.
Several patterns are notably rewritten to being Go-like.
I am sure there was some machine translation based on schemas, but there's a lot of real human thought here.
If we are talking full AI-driven "agentic" development, we should probably be measuring cost in tokens. Unless the framework is popular enough to be in the weights, agent will have to pull docs or source code into its context. Is it really cheaper than generating and keeping in the context an ultra specific web framework?
Actually, I meant this to be a joke, but...
Also an answer: because I still want to be able to read the code. Call me old-fashioned but Rust is a bit write-only.
LLMs really like Go just fine, and it compiles so quickly.