Download the PHP package tomatophp/filament-alerts without Composer
On this page you can find all versions of the php package tomatophp/filament-alerts. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tomatophp/filament-alerts
More information about tomatophp/filament-alerts
Files in tomatophp/filament-alerts
Package filament-alerts
Short Description Send notification to users using notification templates and multi notification channels, it's support Filament Native Notification Service with macro, and a full integration to FCM service worker notifications
License MIT
Informations about the package filament-alerts
Filament Alerts Sender
Send notification to users using notification templates and multi notification channels, it's support Filament Native Notification Service with macro, and a full integration to FCM service worker notifications
Features
- [x] Send Notification to users using drivers
- [x] Use Filament Native Notification
- [x] Use Notification Templates
- [x] Notification Logs
- [x] Use Multiple Notification Channels
- [x] Hide Notifications Resources
- [x] Use Database Driver
- [x] Use Email Driver
- [x] Custom Driver Register
- [x] Custom Type Register
- [x] Custom Action Register
- [x] Multi Users Register
- [ ] Register Notification Templates
Screenshots
Installation
after install your package please run this command
if you are not using this package as a plugin please register the plugin on /app/Providers/Filament/AdminPanelProvider.php
Usage
to set up any model to get notifications you
and you must set the settings for FCM to get real-time notification
Queue
the notification is run on queue, so you must run the queue worker to send the notifications
Use Filament Native Notification
you can use the filament native notification and we add some macro
for you
Notification Service
to create a new template you can use template CRUD and make sure that the template key is unique because you will use it on every single notification.
Send Notification
to send a notification you must use our helper SendNotification::class like
where $template
is selected of the template by key or id, and title, body use to select and replace string on the template with custom data
Notification Channels
you can use multiple notification channels like
- Database
it can be working with direct user methods like
Hide Notifications Resources
to hide the notification resources from the sidebar you can use the plugin method hideNotificationsResources
like
Use Email Settings
we have build a Email settings to change your SMTP settings direct from GUI to allow this feature just add this method to the plugin
Add Custom Driver
you can add a custom driver follow up Driver
abstract class like this
then just use the facade service method in your service provider boot()
Register Custom Type
you can add a custom type using facade service method in your service provider boot()
Register Custom Action
you can add a custom action using facade service method in your service provider boot()
Register Custom User Type
you can add a custom user type using facade service method in your service provider boot()
User Alerts Resource Hooks
we have add a lot of hooks to make it easy to attach actions, columns, filters, etc
Table Columns
Table Actions
Table Filters
Table Bulk Actions
From Components
Page Actions
Infolist Entries
Custom Resource Classes
you can customize all resource classes to be any class you want with the same return from the config file
Publish Assets
you can publish config file by use this command
you can publish views file by use this command
you can publish languages file by use this command
you can publish migrations file by use this command
Testing
if you like to run PEST
testing just use this command
Code Style
if you like to fix the code style just use this command
PHPStan
if you like to check the code by PHPStan
just use this command
Other Filament Packages
Checkout our Awesome TomatoPHP
All versions of filament-alerts with dependencies
tomatophp/console-helpers Version ^1.1
filament/filament Version ^3.0.0
filament/notifications Version ^3.0.0
filament/spatie-laravel-media-library-plugin Version ^3.2
filament/spatie-laravel-translatable-plugin Version ^3.2
tomatophp/filament-icons Version ^1.0
tomatophp/filament-settings-hub Version ^2.0