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 1cab6e3
Browse filesBrowse the repository at this point in the historyBrowse files
All notable changes to this project will be documented in this file.
4
+
5
+
## [Unreleased]
6
+
7
+
### New Features
8
+
9
+
#### MMS
10
+
11
+
-**Outgoing MMS support** — send MMS messages with an optional subject, text body, and base64-encoded attachments. Pass an `MmsMessage` instead of text to `Message` or `MessageBuilder`; subject, text, and attachment content are encrypted when using `Encryptor`.
12
+
```php
13
+
$mms = new MmsMessage('Subject', 'Text', [
14
+
new MmsAttachment('image/png', base64_encode($data), 'picture.png'),
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
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 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 SMS and MMS messages (send, state, listing, cancellation), inbox refresh with 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
@@ -32,6 +32,8 @@ A modern PHP client for the [SMSGate](https://sms-gate.app) API: send SMS messag
32
32
## ⭐ Features
33
33
34
34
- Fluent `MessageBuilder` for messages and `SettingsBuilder` for settings
35
+
- SMS messages with delivery reports, priority, TTL, and message cancellation
36
+
- Outgoing MMS messages with subject, text, and attachments
35
37
- PSR-18 HTTP client and PSR-17 factories, auto-discovered
36
38
- Basic and JWT authentication with token generation and revocation
37
39
- Webhooks, devices, settings, logs, and health checks
0 commit comments