### Install the package via Composer Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Use this command to install the package dependency in your project. ```bash composer require zvizvi/filament-notifications-tabs:^0.0.2 ``` -------------------------------- ### Publish views Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Publish the package view files to your application for customization. ```bash php artisan vendor:publish --tag=filament-notifications-tabs-views ``` -------------------------------- ### Configure the default tab Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Set the default tab to 'all' instead of the default 'unread' tab. ```php FilamentNotificationsTabsPlugin::make() ->defaultTab('all') ``` -------------------------------- ### Register the plugin in the panel provider Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Add the plugin to your panel configuration. Database notifications must be enabled for the plugin to function. ```php use Zvizvi\FilamentNotificationsTabs\FilamentNotificationsTabsPlugin; public function panel(Panel $panel): Panel { return $panel // ... ->databaseNotifications() ->plugins([ FilamentNotificationsTabsPlugin::make(), ]); } ``` -------------------------------- ### Publish translations Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Publish the package translation files to your application for customization. ```bash php artisan vendor:publish --tag=filament-notifications-tabs-translations ``` -------------------------------- ### Enable delete confirmation Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Require a confirmation dialog before deleting a notification. ```php FilamentNotificationsTabsPlugin::make() ->confirmDelete() ``` -------------------------------- ### Register the styles in Tailwind CSS Source: https://github.com/zvizvi/filament-notifications-tabs/blob/main/README.md Add the source directive to your Filament theme CSS file to ensure Tailwind scans the package's Blade files. ```css @source '../../../../vendor/zvizvi/filament-notifications-tabs/resources/views/**/*.blade.php'; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.