You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit cf4def5
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: CHANGELOG.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
7
7
## [Unreleased]
8
8
9
+
### New Features
10
+
11
+
#### Outgoing MMS
12
+
13
+
-**Outgoing MMS support** — pass an `MmsMessage` (instead of a text string) to `Message` or `MessageBuilder` to send an MMS with an optional subject, body, and attachments:
14
+
```php
15
+
$mms = new MmsMessage('Subject', 'Body', [
16
+
new MmsAttachment('image/png', base64_encode($bytes), 'photo.png'),
17
+
]);
18
+
$message = (new MessageBuilder($mms, ['+15550100']))->build();
19
+
```
20
+
Attachments carry a MIME type, base64-encoded data, and an optional filename; null subject, text, and filename are omitted from the request body. MMS fields are encrypted when an `Encryptor` is set, and an MMS message is mutually exclusive with an SMS text body on the wire.
21
+
22
+
## [2.6.1] - 2026-09-23
23
+
9
24
### Bug Fixes
10
25
11
26
-**Message priority always serialized** — a message's `priority` is now always included in the JSON body (defaulting to `0` when unset), matching the wire format of the other official SDKs.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,7 +11,7 @@ A modern PHP client for the [SMSGate](https://sms-gate.app) API: send SMS messag
11
11
12
12
## 📖 About
13
13
14
-
`capcom6/android-sms-gateway` is a type-safe PHP library for the SMSGate 3rd-party API. It covers messages (send, state, listing, cancellation), inbox refresh with individual or batch webhook delivery and attachment download, devices, webhooks, settings, logs, health checks, and the JWT token lifecycle, with a fluent `MessageBuilder` for message construction and an optional `Encryptor` for end-to-end encryption. Works with any PSR-18 HTTP client (Guzzle, curl, or others) and PHP 7.4+.
14
+
`capcom6/android-sms-gateway` is a type-safe PHP library for the SMSGate 3rd-party API. It covers messages (send SMS and MMS, state, listing, cancellation), inbox refresh with individual or batch webhook delivery and attachment download, devices, webhooks, settings, logs, health checks, and the JWT token lifecycle, with a fluent `MessageBuilder` for message construction and an optional `Encryptor` for end-to-end encryption. Works with any PSR-18 HTTP client (Guzzle, curl, or others) and PHP 7.4+.
15
15
16
16
## 📚 Table of Contents
17
17
@@ -33,7 +33,7 @@ A modern PHP client for the [SMSGate](https://sms-gate.app) API: send SMS messag
33
33
## ⭐ Features
34
34
35
35
- Fluent `MessageBuilder` for messages and `SettingsBuilder` for settings
36
-
- Messages: send, state, listing, and cancellation
36
+
- Messages: send SMS text or MMS (subject, body, attachments), state, listing, and cancellation
37
37
- PSR-18 HTTP client and PSR-17 factories, auto-discovered
38
38
- Basic and JWT authentication with token generation and revocation
39
39
- Inbox refresh with individual or batch webhook delivery and MMS attachment download
0 commit comments