PHP code example of enniel / laravel-epochta-notification-channel

1. Go to this page and download the library: Download enniel/laravel-epochta-notification-channel 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/ */

    

enniel / laravel-epochta-notification-channel example snippets


...
'providers' => [
    ...
     NotificationChannels\Epochta\EpochtaServiceProvider::class,
],
...

// config/services.php
...
'epochta' => [
    'sms' => [
        'public_key' => env('EPOCHTA_SMS_PUBLIC_KEY'),
        'private_key' => env('EPOCHTA_SMS_PRIVATE_KEY'),
    ],
],
...