Download the PHP package gelo11/smstraffic-client without Composer
On this page you can find all versions of the php package gelo11/smstraffic-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gelo11/smstraffic-client
More information about gelo11/smstraffic-client
Files in gelo11/smstraffic-client
Download gelo11/smstraffic-client
More information about gelo11/smstraffic-client
Files in gelo11/smstraffic-client
Vendor gelo11
Package smstraffic-client
Short Description SmsTraffic HTTP API client for PHP 8.4+
License MIT
Homepage https://github.com/gelo11/smstraffic-client
Package smstraffic-client
Short Description SmsTraffic HTTP API client for PHP 8.4+
License MIT
Homepage https://github.com/gelo11/smstraffic-client
Please rate this library. Is it a good library?
Informations about the package smstraffic-client
SmsTraffic HTTP API Client для PHP
Легковесный, типобезопасный и полностью тестируемый клиент для работы с SmsTraffic HTTP API на PHP 8.4+.
Соблюдает принципы SOLID, PSR-4, использует immutable DTO, enums и современные возможности PHP.
Требования
- PHP 8.4 или выше
- Расширение
ext-simplexml(включено по умолчанию в большинстве сборок) - Composer для управления зависимостями
Автоматически устанавливает:
guzzlehttp/guzzle— для HTTP-запросов
Быстрый старт
-
Установите пакет:
-
Отправьте SMS:
-
Обработка ошибок
- Работа со статусами
Методы
Клиент поддерживает следующие операции:
| Метод | Назначение | Пример использования |
|---|---|---|
sendSms(SendSmsRequest $request) |
Отправка SMS на один или несколько номеров | new SendSmsRequest(...) |
getStatus(GetStatusRequest $request) |
Получение статуса по ID сообщений | new GetStatusRequest(['1001', '1002']) |
getBalance(GetBalanceRequest $request) |
Проверка баланса аккаунта | new GetBalanceRequest() |
getIncomingSms(GetIncomingSmsRequest $request) |
Получение входящих SMS | new GetIncomingSmsRequest() |
Лицензия
Этот проект распространяется под лицензией MIT.
All versions of smstraffic-client with dependencies
PHP Build Version
Package Version
The package gelo11/smstraffic-client contains the following files
Loading the files please wait ...