PHP code example of vemcogroup / laravel-smsapi

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

    

vemcogroup / laravel-smsapi example snippets


return [

    /*
        |--------------------------------------------------------------------------
        | Token
        |--------------------------------------------------------------------------
        |
        | Here you define your API TOKEN for smsapi
        |
        | More info: https://www.smsapi.com/docs/#authentication
        |
        */
    
        'token' => env('SMSAPI_TOKEN'),
];
bash
php artisan vendor:publish --provider="Vemcogroup\SmsApi\SmsApiServiceProvider"