#Is Filament v3 compatible with Laravel 12?

10 messages · Page 1 of 1 (latest)

verbal tartan
#

Just recently installed laravel app version 12, using the livewire starter kit. And I noticed flux has been used.

Upon installing filament table builder, i notice this

Filament uses Tailwind CSS v3 for styling. If your project uses Tailwind CSS v4, you will unfortunately need to downgrade it to v3 to use Filament. Filament v3 can't support Tailwind CSS v4 since it introduces breaking changes. Filament v4 will support Tailwind CSS v4.

I tried downgrading to tailwindcss3, and some of the UI I did already broke (as flux is existing in the project)

So, should I downgrade to laravel 11?

young gobletBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

patent oak
#

Use laravel 11 for now as you'll get issues since v12 was released days ago.

solemn escarp
#

Come on, seriously (sarcastic)... I stared a new app yesterday, went through the work of manually initiating a version 11... then saw the news here that the update was out to support V12, so I blew that away and started a new v12, spent all day yesterday modeling my db... and now I'm supposed to go back to V11? 😆 (I mean, I'm still gonna try with V12, and I didn't even get around to downgrading Tailwind yet.)

But V11 won't work with this latest version of Filament either will it, because it's marked for Laravel ^12.0 (and other dependencies have also been moved upward and not including the older versions). So then I have to also manually specify version of Filament prior to yesterday's?

patent oak
# solemn escarp Come on, seriously (sarcastic)... I stared a new app yesterday, went through the...

Not at all, Filamentphp is independant of any application you are using and is supported by V12 Laravel. However, if you are using a starter kit of laravel where you want to embed parts of filament into it you will have issues because Filament V3 is tailwind v3 and tailwind v4 was just released and used by Flux. Filament v4 is tailwind V4 but we are not ready for release for a little bit yet whilst Dan works on some kinks.

solemn escarp
#

Ok I see what you mean. Can't use Flux/L12 and Filament v3 all at same time.

Do you have a timeline for Filament v4 btw? I asked on Reddit but no one responded. I looked at the GitHub alpha/beta but looks like there's a lot of items open, so I was figuring it's six months out or so.

patent oak
#

Well you can, but not if you want to embed filament v3 tables / forms into Flux used frontends. That's all.

No date yet as it's open source.. Dan's doing it in his free time. But most of it is documentation, so I wouldn't expect it being a crazy time away.

devout cargo
#

Just making sure, but if I don't plan to do any custom styling in filament, I won't have issues because I won't have to recompile the styling? (while using L12 with tailwind v4)

patent oak
ocean escarp