Skip to content

v2.0.0

Compare
Choose a tag to compare
@3x1io 3x1io released this 10 Jun 14:47
· 32 commits to master since this release

Features

  • Send Notification to users
  • Use Filament Native Notification
  • Use Notification Templates
  • Full FCM Service Worker Integration
  • Use Multiple Notification Channels
  • API to get notifications
  • Hide Notifications Resources
  • Use Slack Driver
  • Use Discord Driver
  • Use Reverb Driver
  • Use SMS Misr Driver
  • Use Email Driver
  • Use Database Driver
  • Use MessageBird Driver

Use Filament Native Notification

you can use the filament native notification and we add some macro for you

use Filament\Notifications\Notification;

Notification::make('send')
    ->title('Test Notifications')
    ->body('This is a test notification')
    ->icon('heroicon-o-bell')
    ->color('success')
    ->actions([
        \Filament\Notifications\Actions\Action::make('view')
            ->label('View')
            ->url('https://google.com')
            ->markAsRead()
    ])
    ->sendToDiscord(auth()->user())
    ->sendToEmail(auth()->user())
    ->broadcast(auth()->user())
    ->sendToDatabase(auth()->user())
    ->sendToSlack(auth()->user())
    ->sendToFCM(auth()->user())

Full Changelog: v1.0.3...v2.0.0