PHP code example of onesite / notify

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

    

onesite / notify example snippets



return [
    'channels'=>[
        'notification' => [
            'driver' => 'daily',
            'path' => storage_path('logs/notification.log'),
            'level' => 'debug',
            'days' => 14,
        ]
    ]
]