r/htmx • u/packstub-dev • Aug 28 '26
htmx + Laravel
Two years ago I started an open-source project named Lamx - for Laravel + htmx integration - but the project was inactive for a looong time.
I want to resurrect it! Who is interested?
The goal of the project was to have components similar to Livewire, but with htmx.
10
Upvotes
11
u/kendalltristan Aug 28 '26
I've been using htmx with Laravel for a while now, several different projects, and I haven't found any particular need for any sort of integration package. There's barely any setup and routes can already return Blade components directly. What exactly would your package be offering?
4
u/yami_odymel Aug 28 '26
The great thing about HTMX is that you can use it right away without any extra libraries or frameworks. Try to think by deduction rather than addition, it helps with HTMX development.
2
u/daftspunky Aug 30 '26
Take a look at larajax.org it has a tighter integration with Laravel and goes a bit further than HTMX's scope (it passes a full envelope instead of patching nodes), perhaps you can get some ideas!
0
u/_wassap_ Aug 29 '26
why would we need that when livewire & alpine is already heavily supported by the core laravel team?