coconutcraig/laravel-postmark
Laravel package for sending mail via the Postmark API
v4.0.0
3.4M downloads/mo
#2168 most downloaded on Packagist
craigpaul/laravel-postmark
What this package is like to depend on
Last release 5 days ago
18 Aug 2026
Release timing varies
gaps range from 2 weeks to 12 months
Nearly every release is documented
notes for 56 of 57 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
59 releases · first in 2017
4 releases in the last 12 months
see the full history below
Release timeline
58 releases · Jan 2017 to Aug 2026Releases
latest 59-
v4.0.018 Aug 2026Release notes
Open source →Changed
- Adds Guzzle 8 support and drops support for Laravel 10.x and 11.x
#157
- Adds Guzzle 8 support and drops support for Laravel 10.x and 11.x
-
v3.4.123 Feb 2026 -
v3.4.009 Feb 2026Release notes
Open source →Added
- Document Postmark MessageID capture and listener setup
#155
Fixed
- Resolve PHP deprecation for json_decode
#154 - Supports symfony/mailer change for inline attachments
ebb1f8010b
- Document Postmark MessageID capture and listener setup
-
v3.3.102 Oct 2025 -
v3.3.018 Feb 2025Release notes
Open source →-
Bump dependencies for Laravel 12
-
Update GitHub Actions for Laravel 12
-
Loosens up dependency version to allow for 12.x-dev to be pulled until the proper tag is created
Co-authored-by: Craig Paul [email protected]
-
-
v3.2.019 Feb 2024 -
v3.1.120 Nov 2023 -
v3.1.025 Aug 2023Release notes
Open source →Added
- Adds support for passing in Guzzle options to the Laravel HTTP client
f7fa0aa150
- Adds support for passing in Guzzle options to the Laravel HTTP client
-
v3.0.524 Jul 2023Release notes
Open source →Fixed
- Adds fallback for message_stream_id configuration
0f208109a9 - Applies code styling fixes
ea7c4548ae
- Adds fallback for message_stream_id configuration
-
v3.0.422 Jul 2023Release notes
Open source →Changed
- Swaps explicit mailer configuration fetch with injected configuration
50147a4cb8
- Swaps explicit mailer configuration fetch with injected configuration
-
v3.0.312 Jan 2023 -
v3.0.218 Feb 2022 -
v3.0.113 Feb 2022 -
v3.0.031 Jan 2022Release notes
Open source →Added
- Adds support for templated mailables / mail messages by determining via the HTML body if we have sent in a decode-able JSON object or not and adjusting the payload to match
3bdde38e8b - Adds templated mail message / mailable classes for easier consumption by the end user
094c83687f - Adds more tests to ensure using a templated mailable / mail message will successfully make the correct calls
b7ff82ddfe - Adds stub notification for testing purposes
193d369718 - Adds factory for created attributes necessary for a templated mailable / mail message
d46a4fa130 - Adds exception when response received by Postmark is not OK
0ea85312b1 - Adds basic named exception class
82f9fb45c8 - Adds test to handle expecting correct exception handling when an error occurs
7f7ee72193 - Adds support for customization of metadata, headers, etc while sending an email
12f8b4f5b4 - Adds test to ensure usage of certain customization features are properly utilized
2a47cd47de - Adds support for custom metadata attributes to email factory
74163ff3ae - Adds metadata factory to create simple key value objects
bd0d3ab0f0 - Adds support for sending both regular and embedded attachments with an email
a7a9437aad - Adds more tests for utilizing both regular and embedded attachments properly
7e909ad5c0 - Adds support for creating an email with an attachment
9569f94dc6 - Adds support for setting a name alongside an email address and updates tests to ensure the correct format is sent when the name is given
845c2a26a1 - Sends reply to address with other attributes
1fa28c6c34 - Adds support for setting a reply to address within the email factory
2cb2792bac - Adds support for sending carbon copies of emails
864c15dfe3 - Adds test to ensure proper support for sending an email with carbon copies attached to it
e6a94d072d - Adds support for carbon copy attributes to the email factory
f9cc7c893d - Adds HTML body to array of sent attributes
ddc5ec5d21 - Introduces a factory object to handle random data generation instead of relying on an untyped array
d92f25fec9 - Implements absolute basic code necessary to make a request to send an email via Postmark
d4b132c143 - Injects Laravel's HTTP client into the transport
a67da534e0 - Adds initial basic case for sending an email via Postmark
ea65d58d01 - Adds necessary environment configuration for testing to occur properly
bafe8036e0
Changed
- Explicitly requires newer version of fakerphp/faker in order to get around old lorempixel issue
b45fa541fe - Updates existing test to ensure the reply to field is set correctly
c24c812108 - Extracts http client factory fake to specific method so it may be re-used in upcoming tests
0dda0e2faf - Renames test to make it more clear that it is only testing the smallest set of required attributes
01dcda1650 - Updates existing test to ensure other required attribute is always sent
95e97fcaa3 - Removes unnecessary tests from actions workflow and adds dependency caching to improve test run speed
d61ac650b5 - Ensures the most basic type of request will be sent properly
f6540153a8 - Passes the postmark token through the transport constructor
6e1360fac9 - Updates existing test to ensure the proper request is being made with the most basic of required attributes
8332bfeef1 - Updates existing root namespace
ccb5cddf55 - Updates author email and homepage
5e70e90cc8 - Updates dependency versions to account for support of new symfony/mailer component
09346ff254
Removed
- Removes currently unused custom exception
d1d696f2da - Removes the majority of existing code to allow for a clean slate
21e35e9e96
- Adds support for templated mailables / mail messages by determining via the HTML body if we have sent in a decode-able JSON object or not and adjusting the payload to match
-
v3.0.0-RC2no date pre-releaseNothing published for this version
-
v3.0.0-RC106 Jan 2022 pre-releaseNothing published for this version
-
v2.11.231 Jan 2022Nothing published for this version
-
v2.11.107 Dec 2021 -
v2.11.002 Sep 2021 -
v2.10.207 Aug 2021Release notes
Open source →Fixed
- Adds a ContentID key for handling inline attachments that have an actual identifier. Fixes
#1264a121f0a0a - Adds test to ensure we can appropriately handle inline attachments
9662d1afc0
- Adds a ContentID key for handling inline attachments that have an actual identifier. Fixes
-
v2.10.124 Feb 2021Release notes
Open source →Added
- Adds ability to toggle between temporary testing endpoint and real endpoint
#123
- Adds ability to toggle between temporary testing endpoint and real endpoint
-
v2.10.030 Oct 2020Release notes
Open source →Added
Deprecated
X-PM-Message-Idheader in sent messages. Please use the newX-Message-IDheader.
-
v2.9.129 Oct 2020Release notes
Open source →Changed
- Updates documentation surrounding an update to the
MAIL_DRIVERenvironment variable27aa7cd
Fixed
- Updates documentation surrounding an update to the
-
v2.9.008 Aug 2020Release notes
Open source → -
v2.8.204 Mar 2020 -
v2.8.128 Feb 2020Release notes
Open source → -
v2.8.027 Feb 2020 -
v2.7.225 Feb 2020Release notes
Open source →Added
Changed
- Updates incorrect docblock return parameter
#68 - Updates tests in preparation for Laravel 7 changes
#66 - Simplifies usage of vendor publish command
#61 - Allow PHPunit v9.0
#60 - Changes to caret operator for maximum interoperability
#59 - Updates out of date homepage url
#57 - Normalizes composer.json
#56 - Moves files into .github folder for ease of use
#55
- Updates incorrect docblock return parameter
-
v2.7.108 Nov 2019 -
v2.7.029 Oct 2019 -
v2.6.003 Sep 2019Release notes
Open source →Changed
- Place tests under "tests" namespace.
d8aec9020c - Place views in the resources folder.
ed5dca5822 - Updated version constraints for Laravel 6.0.
2ca003724f - Updated Travis matrix to test against Laravel 6.0
#37
Fixed
- Removes brackets.
97243985cf - Fixes version numbers.
acd4a59ead - Adds missing variable name.
2fa260b6f5 - Adds double spaces to the doc blocks.
95278d5595 - Adds double spaces to the doc blocks.
6365c7d56b - Adds double spaces to the doc blocks.
a680f4e0f0 - Applies suggested change from style-ci
c0cdf3cdfe - Removes empty lines between @param and @return.
012247f519
- Place tests under "tests" namespace.
-
v2.5.026 Jul 2019Release notes
Open source →Added
- Adds custom view for json encoding future template variables.
78a4d55143 - Adds mail message with tests to utilize new template api ability.
cbc67641ea - Adds ability to utilize a json encoded message body to use the postmark template api.
ae642a78cb
Fixed
- Cleans up test imports.
184b643786 - Fixes method name casing.
f6dcc9e49d - Makes identifier into an integer to comply with Postmark API documentation.
3b1e89b0e0 - Adds missing view property. Moves subject and html body generation to only happen when not using the template api.
90dd69631a
- Adds custom view for json encoding future template variables.
-
v2.4.115 Jul 2019Release notes
Open source →Added
- Add support for postmark custom metadata.
fc59a7d1d1
Fixed
- Fix style.
ea1c81b83b - Updates code style issues.
4b0b1fbfe5
- Add support for postmark custom metadata.
-
v2.4.026 Feb 2019Release notes
Open source →Added
- Adds support for Laravel 5.8
d6aa008ca5 - Adds test to ensure custom creator is not put into framework when mail driver is not postmark
7c22b536f6
- Adds support for Laravel 5.8
-
v2.3.227 Sep 2018Release notes
Open source →Added
- Adds build matrix to test against multiple versions.
ea0b27d9f7
Fixed
- Skip swift extension if driver isn't 'postmark'.
6bb7e3b7e5
Updated
- Changes style preset to laravel.
dbabf1e286
- Adds build matrix to test against multiple versions.
-
v2.3.111 Sep 2018Release notes
Open source →Fixed
- Throw an exception when POSTMARK_SECRET is not set.
cabbe42473 - Fixes long line causing phpcs error.
aa6909137
Updated
- Update PostmarkServiceProvider.php
2d03a2a0fb
- Throw an exception when POSTMARK_SECRET is not set.
-
v2.3.005 Sep 2018Release notes
Open source →Added
- Adds phpunit.xml to .gitignore.
cb798836a7
Changed
- Adds a postmark config file.
e13970dd2d - Refactors the getHtmlAndTextBody() function by using a collection.
00c36b8572
Fixed
- Fixes naming of a test.
8b43757939 - Fixes phpunit.xml.dist file.
fd75059cd1
Updated
- Adds support for Laravel 5.5 up to 5.7.
86b4b3aebd
- Adds phpunit.xml to .gitignore.
-
v2.2.019 Feb 2018Release notes
Open source →Updated
- Updates travis configuration.
ae914ea34a - Updates compatibility table.
dac237f848 - Updates dependencies for laravel framework upgrade.
932660900b
- Updates travis configuration.
-
v2.1.816 Nov 2017Release notes
Open source →Updated
- Adds multipart/mixed to content types to account for attachments.
e63fdd9e37
- Adds multipart/mixed to content types to account for attachments.
-
v2.1.716 Nov 2017Release notes
Open source →Fixed
- Re-indexes attachments collection before converting to an array.
eb39a28689
- Re-indexes attachments collection before converting to an array.
-
v2.1.607 Nov 2017Release notes
Open source →Fixed
- Display names containing a comma results in API error 300.
ed09f78472
- Display names containing a comma results in API error 300.
-
v2.1.507 Nov 2017Release notes
Open source →Added
- Added suggestion of mvdnbrk/postmark-inbound to composer.json.
2525c6bd35
- Added suggestion of mvdnbrk/postmark-inbound to composer.json.
-
v2.1.408 Oct 2017Release notes
Open source →Added
- Added additional test.
5030f1774d - Tests for attachments are in a separate test.
48bcaa386a - Adds getHtmlAndTextBody function including tests.
a05aa46b5f - Adds getMimePart function to get a mime part from a message.
494cde1cd5 - Adds getBody function to get the body from a message.
3f1b46911e - Adds test to ensure that required fields are in the payload.
0c15aa1dc2 - Adds getSubject function to get the subject from a message.
5317d0d5db - Added getPayload function.
05fd0244b1 - Adds tests to ensure that the json payload has the proper values.
d7f506907b - Adds getTag function to get the tag from a message.
3389580b29 - Add Content-Type to payload headers.
d4d79380c4
Updated
- Updates docblock and test for getting contacts.
7e658ceb0e - Code style.
77fcc03887 - Type hint params.
a17986572d - Remove dump.
05ec702ff1 - Payload does not contain empty keys.
3c12ede434 - Refactor PostmarkTransportTest.
e334420982
- Added additional test.
-
v2.1.306 Oct 2017 -
v2.1.206 Oct 2017Release notes
Open source →Updated
- Updates docblock return.
ba2c7dbe8e - Inherit the docs from the parent class.
8a37c8c3ef - Refactor getAttachments method.
a5d4b90969 - Missing dot at the end of the sentence.
5a1d90406a - Remove single used variables.
69603881f4 - Typo.
598b9b3a47
- Updates docblock return.
-
v2.1.118 Jul 2017Release notes
Open source →Added
- Adds upgrade guide and link to readme.
158742412c - Adds tag link for laravel 5.4 support.
a4b8c64f5c
Removed
- Removes redundant getFrom method and test.
81c555b9af - Removes line forgotten from previous upgrade guide.
4910872bbe
Updated
- Updates docblocks.
e3af135c8f
- Adds upgrade guide and link to readme.
-
v2.1.018 Jul 2017Release notes
Open source →Updated
- Adds support table to readme.
1f6f85b0c0 - Add support for Laravel 5.5.
d29cdb46f6
- Adds support table to readme.
-
v2.0.017 Jul 2017Release notes
Open source →Added
- Adds upgrade instructions from v1 to v2.
a3450dde6f - Adds a short description about Postmark.
17056874e6 - Added a service provider.
5bf7472003
Removed
- Removed guzzle test param.
b65d000870 - Removed unused local variable $app.
295c02ae0a
Updated
- Using helper method instead of static access to class 'Arr'.
c891f714c9
- Adds upgrade instructions from v1 to v2.
-
v1.1.503 Jul 2017Release notes
Open source →Updated
- Set X-PM-Message-Id into swift message headers.
a7a744d53a - Updates minor code styling.
8dfb904663
- Set X-PM-Message-Id into swift message headers.
-
v1.1.424 May 2017Release notes
Open source →Fixed
- Adds check to make sure we only attach swift attachments.
e3a4c7b86b
- Adds check to make sure we only attach swift attachments.
-
v1.1.324 May 2017 -
v1.1.224 May 2017 -
v1.1.123 May 2017 -
v1.1.017 May 2017 -
v1.0.025 Mar 2017 -
v0.2.103 Feb 2017Release notes
Open source →Added
- Adds setup documentation to readme.
2c2bc36a1b - Adds ability to add tags to mail.
7d63060128
Changed
- Fixes changelog entries.
e5370029b4 - Cleans up docblocks and removes useless dot files.
09ecd1b10c
- Adds setup documentation to readme.
-
v0.2.029 Jan 2017Release notes
Open source →Changed
- Removes hhvm from travis.yml file.
bfa3c1739e - Changes scrutinizer runs to 1 from 3.
b004ef9439 - Changes getSender to getFrom.
b1484d0337
- Removes hhvm from travis.yml file.
-
v0.1.029 Jan 2017Release notes
Open source →Added
- Adds service provider, manager and mail driver with appropriate tests.
b3c10cd221
- Adds service provider, manager and mail driver with appropriate tests.
-
v0.0.129 Jan 2017