© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Globally Accessing Current Resource - Filament
F
Filament
•
2y ago
•
2 replies
Owain
Globally Accessing Current Resource
Hey
. Is there a way I can access the current page
/resource from inside a middleware
? I essentially want to be able to do something like
Filament\Facades\Filament::getCurrentResource()
Filament\Facades\Filament::getCurrentResource()
and have it return the Filament resource for the page I
'm accessing
, but can
't find a method which achieves this
. Thanks in advance
.
Filament
Join
A powerful open-source UI framework for Laravel • Build and ship apps & admin panels fast with Livewire
20,181
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Accessing Model /ResourceIn Widget
F
Filament / ❓┊help
2y ago
Accessing the current tenant
F
Filament / ❓┊help
3y ago
Accessing resource from resource manager link
F
Filament / ❓┊help
3y ago
Accessing parent resource when creating nested resource
F
Filament / ❓┊help
7mo ago