Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Laravel Postmark

Laravel Postmark Laravel Package

coconutcraig/laravel-postmark

Laravel mail transport for Postmark, sending transactional email through Postmark's API instead of SMTP. Drop-in driver configuration, supports Laravel notifications and mailables, and handles Postmark-specific features like message streams and tags with minimal setup.

View on GitHub
Deep Wiki
Context7

A Postmark adapter for Laravel

Frequently asked questions about Laravel Postmark
How do I install coconutcraig/laravel-postmark?
Install it with Composer by running composer require coconutcraig/laravel-postmark in your Laravel project. If your Laravel version supports package discovery, the service provider is typically registered automatically; otherwise add it manually. After installation, configure your Postmark credentials and set your mailer to use the package's transport. Check the README for any version-specific setup steps.
How do I configure Laravel to send mail via Postmark with this package?
Add your Postmark server token to config/services.php or your .env file, then set your default mailer to postmark in config/mail.php. The package provides the transport that Laravel's Mail facade uses to deliver messages through the Postmark API. Confirm your from address and any Postmark-specific options match the package documentation.
Which Laravel versions does coconutcraig/laravel-postmark support?
Support depends on the package's composer.json constraints, so check that file or the README for the exact Laravel and PHP versions. The package is built for Laravel's mail transport system and should work with the versions listed there. If you are on an older or very new Laravel release, verify compatibility before using it in production.
Do I need a Postmark account and server token to use this package?
Yes, you need a Postmark account and a server API token to send mail through the Postmark API. The package uses that token to authenticate requests, so store it in your .env file and never commit it. You also need a verified sender signature or domain in Postmark before messages can be delivered.
Can I send Laravel notifications and queued mail through this Postmark package?
Because the package plugs into Laravel's mail transport, mailables, notifications that use the mail channel, and queued mail should all route through Postmark once configured. You still define your notifications and mailables normally with Laravel's Mail facade or Notification classes. Queuing works as it does with any Laravel mailer, provided your queue is configured.
How do I test emails sent with coconutcraig/laravel-postmark?
In tests, use Laravel's Mail::fake() to assert that mailables or notifications are sent without hitting the Postmark API. For integration checks, send to a Postmark test stream or a safe test address rather than real recipients. Avoid using production tokens in automated tests.
Does this package support Postmark templates and tag or metadata features?
Template and metadata support depends on what the package exposes in its transport and message handling. Check the README or source for support for Postmark template IDs, tags, and metadata headers. If a feature is not exposed, you can often add it through Laravel mailable headers or a custom transport extension.
How is coconutcraig/laravel-postmark different from the official laravel/postmark package?
Both packages provide a Postmark mail transport for Laravel, but they may differ in maintenance, Laravel version support, and configuration style. Review the README, release history, and composer constraints for each to see which fits your project. If you need the most current official integration, compare with Laravel's first-party Postmark package.
What should I do if Postmark API requests fail or emails are not sending?
Check your Postmark server token, sender signature or domain verification, and the from address used in your mailable. Enable Laravel logging and inspect the exception or API response for details such as invalid tokens or unapproved senders. Also confirm your mailer configuration points to the Postmark transport and that outbound HTTP requests are not blocked.
Is coconutcraig/laravel-postmark actively maintained and safe for production?
Check the GitHub repository for recent commits, releases, and open issues before adopting it. Review the package's composer.json for Laravel and PHP version constraints and run your own tests in a staging environment. For production, pin a known-good version and monitor Postmark API responses and Laravel logs.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo
bernskioldmedia/laravel-harvest
bernskiold/laravel-data-scrubber
bernskiold/laravel-currency-converter
bernskiold/laravel-campaign-monitor
bernskioldmedia/laravel-autotranslate
siberfx/telegram-bot
roy-sandip/laravel-view-extended
gregsphotography/site-builder-core
roy-sandip/laravel-view
anodyne/blade-fluentui-icons
webx-ui/module-catalog-collections