Download the PHP package expertsystemsau/transmitsms-php-client without Composer
On this page you can find all versions of the php package expertsystemsau/transmitsms-php-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download expertsystemsau/transmitsms-php-client
More information about expertsystemsau/transmitsms-php-client
Files in expertsystemsau/transmitsms-php-client
Package transmitsms-php-client
Short Description Framework-agnostic PHP client for the TransmitSMS API
License MIT
Homepage https://github.com/expertsystemsau/transmitsms-php-client
Informations about the package transmitsms-php-client
TransmitSMS PHP Client
A framework-agnostic PHP client for the TransmitSMS API.
Installation
Usage
The client is resource-based. SMS operations live on $client->sms(), account
operations on $client->account(), reporting on $client->reporting(), and
contact lists on $client->lists().
Pagination
List endpoints (numbers()->all(), lists()->all(), keywords()->all(),
reporting()->getSent(), reporting()->getUserSent(), lists()->getContacts(),
sms()->getResponses()/getAllResponses()) return a paginator that lazily walks
every page. Use items() to iterate individual records:
Each endpoint's response envelope uses a different item key (numbers, lists,
recipients, messages, members, responses, …); the paginator resolves the
correct key per request automatically.
Sender IDs
The from value (per-message, or the connector default via setDefaultFrom()) is the
sender ID recipients see. It can be:
- A dedicated virtual number (VMN) in international format, e.g.
61412345678— supports two-way messaging (recipients can reply). - An alphanumeric sender ID ("alpha tag") such as
MyBrand— max 11 characters, letters and digits only, no spaces (validate with$client->sms()->isValidSenderId()). One-way only; recipients cannot reply. - Omitted — TransmitSMS falls back to a shared number for the destination country.
There is no from argument on the constructor. Set it one of two ways:
Note:
$client->sms()->sendRequest(SendSmsRequest $request)does not apply these connector defaults — setfromon the request yourself when using it.⚠️ Alpha tags must be registered and approved before you can send with them. For messages to Australian numbers, alphanumeric sender IDs must be listed on the ACMA SMS Sender ID Register (enforced from 1 July 2026) — an unregistered sender ID is replaced with "Unverified" on the recipient's device. Registration requires your registered entity name, ABN, and an authorised contact. Register your sender IDs through the TransmitSMS dashboard before using an alpha tag; otherwise omit
fromto send from a shared number.
DLR & Reply Callbacks
The client provides utilities for handling DLR (Delivery Receipt) and Reply callbacks with signed URLs.
Setting Up Callback URLs
Handling Incoming Callbacks
In your webhook endpoint, parse and verify the callback:
Callback Data DTOs
DlrCallbackData - Delivery receipt information:
ReplyCallbackData - Reply message information:
LinkHitCallbackData - Link click information:
Laravel Integration
For Laravel projects, use expertsystemsau/transmitsms-laravel which provides:
- Service provider with automatic configuration
- Facade for convenient access
- Notification channel integration
- Automatic webhook handling with job dispatching
- Event-driven callback processing
License
The MIT License (MIT). Please see License File for more information.