I thought testing a Filament app was mostly about assertions
It wasn't. The hard part is making your test env behave like production: panels, tenants, and with coverage thresholds
New guide on how that setup grows with your app:
filamentmastery.com/articles/testing-production-filament-applications-from-one-panel-to-multi-tenancy
#Laravel #filamentphp #pestphp
Hashtag
#filamentphp
Filament Renew Password just crossed 100k downloads.
I went looking for what CNIL, ANSSI and NIST say about password renewal today.
The 90-day rule isn't current best practice anymore. Only half of what the plugin does still is.
filamentmastery.com/articles/why-forced-password-changes-are-still-everywhere-and-why-thats-changing
#Laravel #filamentphp
Filament's QueryBuilder wasn't designed for PostgreSQL JSONB attributes.
Wrote up how to extend it with a custom operator that handles all the edge cases.
Free to read (sign in required) on Filament Mastery
filamentmastery.com/articles/extending-filaments-querybuilder-for-postgresql-jsonb-filters
#Laravel #filamentphp #PostgreSQL
Been working on a new Filament Mastery article.
It started as "I just need to filter a JSONB column"
It ended with a custom QueryBuilder operator and a deep dive into SQL's three-valued logic.
Subscribe if you'd like to be notified when it's live: filamentmastery.com
#Laravel #filamentphp #PostgreSQL
Where should tenant-specific roles live in a filament multi-tenant app?
I started with Spatie's built-in team mode. It broke on a real case, and the reason why is more subtle than I expected.
Free article on FilamentMastery
filamentmastery.com/articles/why-i-moved-away-from-spaties-team-mode-for-multi-tenancy
#Laravel #filamentphp #spatie