you can find usage of this library down here,
<?php
use mghddev\adp\AdpApiClient;
use mghddev\adp\ValueObject\Message;
use mghddev\adp\ValueObject\ReportVO;
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
error_reporting(E_ALL);
include 'vendor/autoload.php';
$domain = '***';
$username = '******';
$password = '*********';
$client = new MagfaApiClient($domain, $username, $password);
$message = (new EnqueueVO())
->setTo('9891280***')
->setFrom('983000***')
->setMessage('سلام آقا')
->setMClass(1);
$result = $client->send([$message]);
$status = $client->getStatus([$result[0]]);