Register the tool with Nova
Open This registers all Nova resources (Notification, Template, Audience, Profile, Delivery, Subscription, Event) and adds the “Notification Center” section to the Nova sidebar.
app/Providers/NovaServiceProvider.php and add the tool to the tools method:Run the install command
Publish the configuration file and run the package migrations:This command:
- Publishes
config/notification-center.phpto your application’s config directory - Runs the following migrations:
create_profiles_tablecreate_subscriptions_tablecreate_audiences_tablecreate_audience_profile_tablecreate_notifications_tablecreate_audience_notification_tablecreate_deliveries_tablecreate_events_table
What gets registered
Once installed, theToolServiceProvider automatically:
- Registers all Nova resources under the Notification Center sidebar section
- Listens for
NotificationSentandNotificationFailedevents to record delivery tracking data - Schedules an hourly job that dispatches delivery strategies for all published, non-expired notifications
- Registers tracking routes for open and action slugs