Filament v3 to v4: Beware, this will break the dashboard (but for the better)!
You’re using Filament v3 and you’re hesitant to jump to v4? Good news: Filament v4 is in beta (don’t install it straight to production, let’s be serious). Bad news: your beloved forms and tables will need a little lifting. But breathe: this guide is here to save you from the classic “ah, I shouldn't have...”.
🎬 Come on, let’s pack the boxes, it’s time for the big move!
🎉 Filament v4: what's new?
Filament v4 arrives with features that are well worth a canceled Netflix weekend:
- Drag & Drop tables
Your users will be able to reorder their columns without spamming you with emails like “Can we move the column?”. Peace is finally possible. - Unified infogrids & forms
No more split between your infogrids and forms: everything is combined into a single set, simpler, cleaner. - Forms on steroids
Forms can now refresh partially instead of reloading everything. Imagine changing a LEGO brick without dismantling your Millennium Falcon: that’s it. - Unified actions
A single class to handle all your actions, goodbye scattered code.
🧱 Filament v3 vs v4: the brick battle
🧩 Elements | 🎯 Filament v3 | 🚀 Filament v4 |
---|---|---|
Tables | Stiff as a Duplo | Dynamic like a Technic |
Infogrids | Isolated and lonely | Merged, Avengers‑style |
Forms | Full reload on every click | Partial refresh, ultra smooth |
Actions | Each its own logic | Total centralization |
🤔 Migrate now, or not?
✅ Go for it if:
- You want to simplify your code and maintenance.
- You want to reduce stress with cleaner code.
- You like when everything is aligned and logical.
🐌 Hold off if:
- You cling to your old code like a wobbling LEGO castle.
- You use 42 exotic plugins with no compatibility guarantee.
- Change scares you (but why do dev then?).
🧨 Watch out for pitfalls during migration
- Possible incompatibilities: be ready to recode some components.
- Custom components: test them, some may no longer fit together.
- Mandatory backup: crying over a broken project, no thanks.
🗒️ LEGO-proof migration checklist
✅ Clone your project locally
✅ Full backup
✅ Update composer.json
✅ Test locally
✅ Verify tables, forms, infogrids
✅ Verify plugins/extensions
✅ Automated tests if possible
✅ Gradual deployment
✅ Well‑deserved coffee
🚀 Why migrate now?
- Smoother experience (expert LEGO creator level)
- Fewer bugs, more serenity
- Clearer interface
- Fewer “it worked on my machine” surprises
📣 Need a hand?
Migration can be scary, but you don’t have to do it alone. At OBI Partner, we’ve got you covered:
- Stress‑free migration
- Audit of potential pitfalls
- Training for your team
Ready to switch to Filament v4 painlessly? Contact OBI Partner!