NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #3600 most downloaded on Packagist
The Mailtrap SDK provides methods for all API functions.
Latest stable
3.18.0
Last release 13 days ago
09 Nov 2026
Ships fairly regularly
a new release about every 4 weeks
Nearly every release is documented
notes for 44 of 46 stable releases
Nothing withdrawn
no release was ever pulled
4 years old
46 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
Add Sandbox and Domain names; deprecate the Inbox and SendingDomain names by @Rabsztok in https://github.com/mailtrap/mailtrap-php/pull/88
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.17.0...3.18.0
Add marketing stats API for GET /api/marketing/stats by @Rabsztok in https://github.com/mailtrap/mailtrap-php/pull/85
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.16.0...3.17.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Release 3.15.0 by @github-actions[bot] in https://github.com/mailtrap/mailtrap-php/pull/79
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.15.0...3.16.0
Add tracking opt-outs and create-suppression endpoints by @mklocek in https://github.com/mailtrap/mailtrap-php/pull/78
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.14.0...3.15.0
MT-22401: Add Email Campaigns API by @Rabsztok in https://github.com/mailtrap/mailtrap-php/pull/72
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.13.0...3.14.0
MT-22678: Add name search filter to getAllContactLists by @Rabsztok in https://github.com/mailtrap/mailtrap-php/pull/71
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.12.1...3.13.0
MT-22022: Add webhook signature verification helper by @Rabsztok in https://github.com/mailtrap/mailtrap-php/pull/66
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.12.0...3.12.1
Change PUT to PATCH method for contacts#update action by @piobeny in #64
Full Changelog: 3.11.0...3.12.0
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.11.0...3.12.0
Add Stats API by @piobeny in https://github.com/mailtrap/mailtrap-php/pull/61
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.10.0...3.11.0
Add symfony 8 by @gaalferov in https://github.com/mailtrap/mailtrap-php/pull/60
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.9.3...3.10.0
Improve CI tests by @gaalferov in https://github.com/mailtrap/mailtrap-php/pull/58
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.9.2...3.9.3
Improve examples by @gaalferov in https://github.com/mailtrap/mailtrap-php/pull/56
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.9.1...3.9.2
Improve README by @gaalferov in https://github.com/mailtrap/mailtrap-php/pull/54
Full Changelog: https://github.com/mailtrap/mailtrap-php/compare/3.9.0...3.9.1
Add Contact Export functionality with filters and related tests by @gaalferov in https://github.com/railsware/mailtrap-php/pull/53
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.8.0...3.9.0
Add contact event functionality by @gaalferov in https://github.com/railsware/mailtrap-php/pull/52
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.7.0...3.8.0
Add new API endpoints by @gaalferov in https://github.com/railsware/mailtrap-php/pull/50
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.6.1...3.7.0
[3.6.1] Improve README for Laravel by @gaalferov in https://github.com/railsware/mailtrap-php/pull/49
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.6.0...3.6.1
[3.6.0] Contacts Batch API Import by @gaalferov in https://github.com/railsware/mailtrap-php/pull/47
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.5.0...3.6.0
[3.5.0] Add Contact Fields CRUD by @gaalferov in https://github.com/railsware/mailtrap-php/pull/46
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.4.0...3.5.0
Update Readme with functionality and prerequisites by @yanchuk in https://github.com/railsware/mailtrap-php/pull/40
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.3.0...3.4.0
[3.3.0] Add Email Sending Suppressions by @gaalferov in https://github.com/railsware/mailtrap-php/pull/41
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.2.0...3.3.0
[3.2.0] Add Email Templates API functionality + Contact Lists API functionality by @gaalferov in https://github.com/railsware/mailtrap-php/pull/39
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.1.0...3.2.0
Add Contact API functionality by @gaalferov in https://github.com/railsware/mailtrap-php/pull/38
Full Changelog: https://github.com/railsware/mailtrap-php/compare/3.0.0...3.1.0
Change Symfony&Laravel integration naming [BC BREAK for Symfony&Laravel] by @gaalferov in https://github.com/railsware/mailtrap-php/pull/37
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.1.0...3.0.0
mailtrap+api to mailtrap+sdk (reason)Use psr/http-factory instead of php-http/message-factory and small updates by @gaalferov in https://github.com/railsware/mailtrap-php/pull/36
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.0.4...2.1.0
Add name prefix into custom EmailHeaders to avoid conflicts with reserved names by @gaalferov in https://github.com/railsware/mailtrap-php/pull/35
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.0.3...2.0.4
Add more template examples in Laravel/Symfony docs by @gaalferov in https://github.com/railsware/mailtrap-php/pull/31
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.0.2...2.0.3
Fix broken Unit tests after symfony/mailer update by @gaalferov in https://github.com/railsware/mailtrap-php/pull/30
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.0.1...2.0.2
testUnsupportedSchemeException method (reason)Issue-28 > support more types in template_variables by @gaalferov in https://github.com/railsware/mailtrap-php/pull/29
Full Changelog: https://github.com/railsware/mailtrap-php/compare/2.0.0...2.0.1
Upgrade SDK v.2.0 [BC BREAK] by @gaalferov in https://github.com/railsware/mailtrap-php/pull/27
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.9.0...2.0.0
Emails layers to use the inboxId at the client level (examples)Projects & Messages & Attachments & Inboxes layers (examples)Accounts & Permissions & Users layers (examples)MailtrapClient::initSendingEmails()Support templates in testing by @gaalferov in https://github.com/railsware/mailtrap-php/pull/25
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.8.1...1.9.0
Bug > Fix template variables encoding by @gaalferov in https://github.com/railsware/mailtrap-php/pull/24
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.8.0...1.8.1
Add Bulk Sending by @gaalferov in https://github.com/railsware/mailtrap-php/pull/23
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.7.4...1.8.0
Update dependencies by @gaalferov in https://github.com/railsware/mailtrap-php/pull/21
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.7.3...1.7.4
Use Psr18ClientDiscovery instead of deprecated HttpClientDiscovery (issue) by @gaalferov in https://github.com/railsware/mailtrap-php/pull/19
Full Changelog: https://github.com/railsware/mailtrap-php/compare/1.7.2...1.7.3
Add support 'reply-to' mail header
Nothing published for this version
Support sandbox message endpoints. Examples here
Support sandbox attachment endpoints. Examples here
Support sandbox inbox endpoints. Examples here
Support general permission endpoints. Examples here
Support sandbox project endpoints. Examples here
Support general account users endpoints. Examples here
move accounts() functions from the sandbox & sending layers to the general
accounts() functions from the sandbox & sending layers to the generalgeneral layer to mailtrapClientNothing published for this version
The initial release of the official mailtrap.io PHP client
One column per quarter.