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.
show comments
leetrout
The community has generally complained (rather heavily) against frameworks. I've said for a decade we really need DjanGO ... Buffalo was an attempt... echo is great (and really needs to replace gin, it's much better docs).
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.
show comments
giancarlostoro
This is really interesting, and makes a lot of sense to me. I always saw Go as a very viable option to create web apps in a similar capacity to PHP itself. From day 1 you could build a web app out of the box, no nonsense. PHP always made it very straightforward to build web apps and Go has always done the same.
This being from the creator of Laravel makes it very interesting too.
show comments
gexla
i feel like Laravel is great for developer UX. That will continue to have a place, as not all developers want to give up that control.
But the next "Rails" is going to be something with a great agent experience (AX?) if that's even a thing. I haven't thought much about this. My agents hum along making their own choices for the most part. MY guess is that the best agent experience is tooling which cuts down the "wait, actually..." type of thinking.
show comments
samtechie
I am not a fan of frameworks in Go. Unlike other languages, Go has a comprehensive net/http package. I don't see a compelling reason to carry the cruft of a framework. Its considerably easier to understand the code in my opinion and you don't have to fight the framework,for reasonably complicated projects because your code is the framework.
show comments
0xblinq
I’m pretty sure Laravel Typescript is coming next.
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.
show comments
kqgnkqgn
Really interesting, will be curious to see how this plays out. Kudos to the Laravel folks for trying something new and exciting - I haven't heard of major cross-language frameworks like this.
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).
ahmedfromtunis
I would love to see a port of Django to rust or go or, heck, even php. Not that I'm going to abandon python, but the level of care taken in building of Django makes it the perfect jumping point for any of these flavors/rebuilds.
show comments
pmkary
What a beautiful thing! This is a really nice idea. I mean Laravel is great, PHP is terrible, Go is the best language ever; their combination is nice! What a cool thing!
show comments
dofm
Would be nice to see a version of AI SDK in the total package before it leaves beta; the Laravel AI SDK is really quite well-architected.
show comments
adrianthedev
It makes a lot of sense now that they took over and kept maintaining Inertia. It's the dynamic front-end for everything they released
Very smart!
MentallyRetired
We all missed out on CSP and AS4.
adrianthedev
I'm curious if they have a Rust guy (or gal) and a Go guy on the team that will look after these releases.
show comments
xXSLAYERXx
Whats an example of an ambitious web application? Whenever I see that term I think back to the ember.js days, and more recently redwood.js, and i immediately think marketing speak and it turns me off. But i'm probably missing something. So what is an ambitious web application??
show comments
seki285
When is this expected to leave beta? I personally wouldn't try it until a 1.0 at least
racl101
What then is is the essence of Laravel? If it was created by Taylor Otwell?
Why would you want to go in the direction of a large framework? Large frameworks made Java uninhabitable (raise your hand if you do not immediately head for the door when you see anything Spring in Java), and it made frontend development unbearable.
Why!?
hiccuphippo
It feels like php exists only for legacy applications now. Some weeks ago I saw Php rewritten in rust but why not directly port Wordpress to go/rust along with its 4 or 5 most popular plugins?
It's interesting, but are frameworks that relevant anymore in the age of AI coding? Why would someone rewrite a Go server using this?
show comments
hk1337
I thought Taylor had said, on Twitter/X I think, that they were not heading in that direction not long ago?
keyle
Isn't there go ravel already?
vova_hn2
On the one hand, AI makes this kind of porting doable, but on the other hand it makes it less useful.
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.
show comments
flossly
Better than PHP.
But still pushing an ORM. Counter productive, especially in this day'n'age.
grzes
it makes sense. they want to bring as many folks to their laravel cloud offering as possible so targeting various popular languages is natural path.
nchmy
Laravel Typescript when?
sebastianconcpt
Okay but why Goravel when you can Rustavel?
show comments
rfgplk
Laravel C++ when? I've got some spare tokens if you'd like a quick port.
show comments
nprateem
This is silly. A rust version I can see as being the future. Laravel in go too sounds like chucking stuff at the wall to see what sticks. I doubt I'll use either of them now as a result as I expect the maintenance overhead will lead to one being killed in a few years.
And also supposedly in Rust too? https://github.com/laravel/rust-framework
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.
The community has generally complained (rather heavily) against frameworks. I've said for a decade we really need DjanGO ... Buffalo was an attempt... echo is great (and really needs to replace gin, it's much better docs).
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.
This is really interesting, and makes a lot of sense to me. I always saw Go as a very viable option to create web apps in a similar capacity to PHP itself. From day 1 you could build a web app out of the box, no nonsense. PHP always made it very straightforward to build web apps and Go has always done the same.
This being from the creator of Laravel makes it very interesting too.
i feel like Laravel is great for developer UX. That will continue to have a place, as not all developers want to give up that control.
But the next "Rails" is going to be something with a great agent experience (AX?) if that's even a thing. I haven't thought much about this. My agents hum along making their own choices for the most part. MY guess is that the best agent experience is tooling which cuts down the "wait, actually..." type of thinking.
I am not a fan of frameworks in Go. Unlike other languages, Go has a comprehensive net/http package. I don't see a compelling reason to carry the cruft of a framework. Its considerably easier to understand the code in my opinion and you don't have to fight the framework,for reasonably complicated projects because your code is the framework.
I’m pretty sure Laravel Typescript is coming next.
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.
Really interesting, will be curious to see how this plays out. Kudos to the Laravel folks for trying something new and exciting - I haven't heard of major cross-language frameworks like this.
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).
I would love to see a port of Django to rust or go or, heck, even php. Not that I'm going to abandon python, but the level of care taken in building of Django makes it the perfect jumping point for any of these flavors/rebuilds.
What a beautiful thing! This is a really nice idea. I mean Laravel is great, PHP is terrible, Go is the best language ever; their combination is nice! What a cool thing!
Would be nice to see a version of AI SDK in the total package before it leaves beta; the Laravel AI SDK is really quite well-architected.
It makes a lot of sense now that they took over and kept maintaining Inertia. It's the dynamic front-end for everything they released Very smart!
We all missed out on CSP and AS4.
I'm curious if they have a Rust guy (or gal) and a Go guy on the team that will look after these releases.
Whats an example of an ambitious web application? Whenever I see that term I think back to the ember.js days, and more recently redwood.js, and i immediately think marketing speak and it turns me off. But i'm probably missing something. So what is an ambitious web application??
When is this expected to leave beta? I personally wouldn't try it until a 1.0 at least
What then is is the essence of Laravel? If it was created by Taylor Otwell?
Announcement here:
https://laravel.com/blog/introducing-laravel-for-go
Apparently they also released Laravel Rust yesterday:
https://laravel.com/blog/introducing-laravel-for-rust
Why would you want to go in the direction of a large framework? Large frameworks made Java uninhabitable (raise your hand if you do not immediately head for the door when you see anything Spring in Java), and it made frontend development unbearable.
Why!?
It feels like php exists only for legacy applications now. Some weeks ago I saw Php rewritten in rust but why not directly port Wordpress to go/rust along with its 4 or 5 most popular plugins?
Curious how this differs/compares to https://github.com/goravel/goravel
Soon: Laravel Markdown
It's interesting, but are frameworks that relevant anymore in the age of AI coding? Why would someone rewrite a Go server using this?
I thought Taylor had said, on Twitter/X I think, that they were not heading in that direction not long ago?
Isn't there go ravel already?
On the one hand, AI makes this kind of porting doable, but on the other hand it makes it less useful.
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.
Better than PHP.
But still pushing an ORM. Counter productive, especially in this day'n'age.
it makes sense. they want to bring as many folks to their laravel cloud offering as possible so targeting various popular languages is natural path.
Laravel Typescript when?
Okay but why Goravel when you can Rustavel?
Laravel C++ when? I've got some spare tokens if you'd like a quick port.
This is silly. A rust version I can see as being the future. Laravel in go too sounds like chucking stuff at the wall to see what sticks. I doubt I'll use either of them now as a result as I expect the maintenance overhead will lead to one being killed in a few years.
[dead]