1. Go to this page and download the library: Download lkaybob/toast-cloud-sms-php 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/ */
lkaybob / toast-cloud-sms-php example snippets
Instance = new ToastCloud\Api\MmsApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client()
);
$appKey = "appKey_example"; // string | Project별 고유의 앱키
$requestId = "requestId_example"; // string | 요청ID (조건적 필수 - 1)
$startRequestDate = "startRequestDate_example"; // string | 발송 날짜 시작값 (조건적 필수 - 2)
$endRequestDate = "endRequestDate_example"; // string | 발송 날짜 종료값 (조건적 필수 - 2)
$msgStatus = "msgStatus_example"; // string |
try {
$apiInstance->getMmsSendList($appKey, $requestId, $startRequestDate, $endRequestDate, $msgStatus);
} catch (Exception $e) {
echo 'Exception when calling MmsApi->getMmsSendList: ', $e->getMessage(), PHP_EOL;
}