PHP code example of d2my / incidents

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

    

d2my / incidents example snippets


  'blocker' => [
      'handler' => \App\Services\Handler::class
  ],

  D2my\Incidents\Facades\Incident::send('channel', 'message');
 php
  D2my\Incidents\Providers\IncidentsServiceProvider::class,

  php artisan vendor:publish --tag=incidents