PHP code example of christophrumpel / nova-notifications

1. Go to this page and download the library: Download christophrumpel/nova-notifications 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/ */

    

christophrumpel / nova-notifications example snippets


 
 return [
     /*
      * The namespaces you want to check for Notification classes.
      */
     'notifiableNamespaces' => [
         'App',
     ],
     /*
      * The namespaces you want to check for Notifiable classes.
      */
     'notificationNamespaces' => [
         'App\Notifications',
         'Illuminate',
     ],
 ];
 

// inside app/Providers/NovaServiceProvder.php

// ...

public function tools()
{
    return [
        // ...
        new \Christophrumpel\NovaNotifications\NovaNotifications()
    ];
}
 bash
php artisan vendor:publish --provider="Christophrumpel\NovaNotifications\ToolServiceProvider"