PHP code example of kommandhub / sms-sw

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

    

kommandhub / sms-sw example snippets


$repository = $container->get('kommandhub_sms_template.repository');

$this->logger->info('something happened', [
    ConfigurableLogger::CONTEXT_SALES_CHANNEL_ID => $salesChannelId,
]);