PHP code example of k-msalehi / ir-sms

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

    

k-msalehi / ir-sms example snippets



return [
    'debug' => true,
    'sms.ir' => [
        'api_key' => 'your_api_key_here',
        'username' => 'your_username_here',
        'password' => 'your_password_here',
    ],
];