Features

Notifications

Automatic notifications when imports complete.

Tapix can send a notification to the user who initiated an import once it completes. This is enabled by default and uses Laravel's database notification channel.

Configuration

config/tapix.php
'notifications' => [
    'enabled' => true,
    'class' => ImportCompletedNotification::class,
],
OptionDefaultDescription
enabledtrueWhether to send a notification when an import completes.
classImportCompletedNotification::classThe notification class to dispatch.

Default Behavior

The built-in ImportCompletedNotification sends a database notification to the user who started the import ($import->user). The notification payload includes:

  • import_id -- The ID of the completed import.
  • importer -- The fully qualified class name of the importer used.
  • created_rows -- Number of records created.
  • updated_rows -- Number of records updated.
  • skipped_rows -- Number of rows skipped.
  • total_rows -- Total number of rows processed.

This integrates with Filament's notification system, so completed imports appear in the notification bell within the admin panel.

Custom Notification Class

To customize the notification content, channels, or recipients, create your own notification class and reference it in the config:

config/tapix.php
'notifications' => [
    'enabled' => true,
    'class' => \App\Notifications\CustomImportNotification::class,
],

Your custom class receives the Import model and can use any Laravel notification channel (mail, Slack, broadcast, etc.).

Disabling Notifications

To turn off import notifications entirely, set enabled to false:

config/tapix.php
'notifications' => [
    'enabled' => false,
    'class' => ImportCompletedNotification::class,
],

No notification will be dispatched regardless of the configured class.

Copyright © 2026