Filamentphp 3 : Custom Database Notification Actions

Published onOctober 07, 2023
1415Views
1min read
0Comment

Introduction

In filamentphp there are called Database notification, which is we can notify specify user. Read documentation

What's The problem?

Image description
There are a
action. How we can override the method of that action?

Solution

First, we need to create a livewire component, let's call it
That will be create file in
, and looks like this
Next, You need change extends to
.
Next, Use the livewire component in your blade.
Next, let's override
method
And finally, you can modify that action.
Image description

Tags:

laravelfilamentphpphpnotifications

No Comment.