<?php
declare(strict_types=1);
require_once 'vendor/autoload.php';
use Smsapi\Client\Feature\Sms\Bag\SendSmsBag;
use Smsapi\Client\Feature\Sms\Data\Sms;
use Smsapi\Client\Curl\SmsapiHttpClient;
/** @var Sms $sms */
$sms = (new SmsapiHttpClient())
->smsapiPlService('%SMSAPI_ACCESS_TOKEN%')
->smsFeature()
->sendSms(SendSmsBag::withMessage('48500000000', 'SMSAPI says hi!'));
var_dump($sms);
Biblioteca S.M.S. API în PHP
Biblioteca PHP va facilita trimiterea de mesaje SMS, gestionarea bazei de date de contacte și gestionarea multor alte caracteristici SMSAPI.