PHP code example of litermi / simple-notification

1. Go to this page and download the library: Download litermi/simple-notification 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/ */

    

litermi / simple-notification example snippets


'providers' => [
    // ...
    Litermi\SimpleNotification\Providers\ServiceProvider::class,
],

$extraValues['test'] = 1;
SimpleNotificationFacade::email()->slack()->notification('message notification', $extraValues);

$extraValues['test'] = 1;
SimpleNotificationFacade::email()->slack()->warning()->notification('message notification', $extraValues);
SimpleNotificationFacade::email()->slack()->error()->notification('message notification', $extraValues);
sh
php artisan vendor:publish --provider="Litermi\SimpleNotification\Providers\ServiceProvider"