New in Laravel 13.21: #[RequestAttribute]
The request attributes bag is perfect for data you've already resolved during the current request.
For example, if middleware has already loaded the current tenant, there's no reason to hit the database again later.
#[RequestAttribute] makes reusing that request-scoped data much cleaner
Feed
📂 You can now configure Conversation Tabs in Wirechat.
Once conversations pile up, one endless list makes it harder to see what matters. Tabs split that list into focused views such as Unread, Groups, Mine, or any custom view your application needs.
corepine.dev/docs/wirechat/features/tabs
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
I've been thinking a lot about where validation should live in a Laravel application.
For a long time, I put almost everything into Form Requests because it felt clean. Recently, I've been exploring a more domain-focused architecture (Actions, Value Objects, ADR), and now I'm asking myself:
Should the domain ever throw a ValidationException?
On one hand, it makes sense because the domain protects its invariants. On the other hand, ValidationException feels like an HTTP concern.
At the moment I'm leaning towards keeping Laravel's validation inside the HTTP layer and letting the domain throw domain-specific exceptions instead.
I'm curious: how do you approach this in your projects?
If you were designing a modular monolith for #Laravel with the simplicity, elegance, conventions, and developer experience expected from a first-party Laravel solution—something Taylor Otwell himself might design—what architecture and project structure would you recommend?
That’s a really interesting question! It’s one that I’m also curious about. Since I don’t have enough experience to give a recommendation just yet, I’m still enjoying keeping up with the discussion here.