F
Filamentβ€’17mo ago
bernhard

V3 equivalent of `Filament::serving`

What is the V3 equivalent of Filament::serving? For example, where do I put
Debugbar::disable();
Debugbar::disable();
Solution:
I think it's still doable in any service provider in your app
Jump to solution
6 Replies
Solution
Lara Zeus
Lara Zeusβ€’17mo ago
I think it's still doable in any service provider in your app
Lara Zeus
Lara Zeusβ€’17mo ago
Filament::serving(function(){
dd(9);

});
Filament::serving(function(){
dd(9);

});
Dennis Koch
Dennis Kochβ€’17mo ago
Btw. no need to disable Debugbar in Filament. Just disable the View Collector on the debugbar config. Maybe not even needed in v3 anymore
bernhard
bernhardOPβ€’17mo ago
Ok, so serving is still just fine? You are right, I can disable Debugbar by adding it to the except config of debubar
'except' => [
'telescope*',
'horizon*',
'admin*' // filament path
],
'except' => [
'telescope*',
'horizon*',
'admin*' // filament path
],
Maybe not even needed in v3 anymore
Well it looks like its still needed
toeknee
toekneeβ€’17mo ago
Orrr just disable the view collector πŸ˜‰ Personally I removed debug bar and use telescope isntead.
Patrick Boivin
Patrick Boivinβ€’17mo ago
Same! Telescope makes it easier to follow a single Livewire component across many actions/requests.
Want results from more Discord servers?
Add your server