PHP code example of ol-zamovshafu / devinotelecom-php
1. Go to this page and download the library: Download ol-zamovshafu/devinotelecom-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/ */
ol-zamovshafu / devinotelecom-php example snippets
use Zamovshafu\Devinotelecom\Service;
use Zamovshafu\Devinotelecom\ShortMessageFactory;
use Zamovshafu\Devinotelecom\Http\Clients\HttpClient;
$service = new Service(new HttpClient(
new GuzzleHttp\Client(),
'https://integrationapi.net/rest/',
'username',
'password',
'outboxname'
), new ShortMessageFactory());
$response = $service->sendShortMessage(['5530000000', '5420000000'], 'This is a test message.');
if($response->isSuccessful()) {
// storeGroupIdForLaterReference is not );
}
bash
composer
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.