PHP code example of zvizvi / filament-notifications-tabs

1. Go to this page and download the library: Download zvizvi/filament-notifications-tabs library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

zvizvi / filament-notifications-tabs example snippets


use Zvizvi\FilamentNotificationsTabs\FilamentNotificationsTabsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->databaseNotifications()
        ->plugins([
            FilamentNotificationsTabsPlugin::make(),
        ]);
}

FilamentNotificationsTabsPlugin::make()
    ->defaultTab('all')

FilamentNotificationsTabsPlugin::make()
    ->confirmDelete()
css
@source '../../../../vendor/zvizvi/filament-notifications-tabs/resources/views/**/*.blade.php';
bash
php artisan vendor:publish --tag=filament-notifications-tabs-translations
bash
php artisan vendor:publish --tag=filament-notifications-tabs-views