wildbit/postmark-php
wildbit/postmark-php is the official PHP client for Postmark, making it easy to send transactional and bulk email through Postmark’s API. It supports templates, attachments, batch sending, bounce and message APIs, with simple Composer installation and Laravel integration via a companion adapter.
Architecture fit
Mail facade already covers transactional sending to Postmark through the built-in transport (Symfony Mailer's Postmark API transport). A direct SDK dependency is therefore redundant for the primary send path and should not be adopted as the mail driver.Integration feasibility
composer require plus a thin service provider is a day of work at most. MIT license is clean; no legal review beyond standard attribution.Technical risk
Key questions
Retry-After handling, or must we implement backoff around it?Stack fit
Mail::assertSent coverage.Migration path
PostmarkClientInterface (or narrower capability interfaces: InboundParser, TemplateAdmin, DeliveryInsights) and bind the SDK behind it in a dedicated app/Services/Postmark namespace.Compatibility
composer.json and require a green CI run before bumping. Add a composer why-not check in the dependency-upgrade runbook.Http::fake or a Guzzle mock handler; do not let SDK calls reach the network in CI.Sequencing
Wrapper interfaces → config + secrets → inbound webhook handler (with signature verification and idempotency keys) → deliverability reporting job → template/stream administration (read) → optional write operations. Gate each step behind a Postmark server token scoped to a non-production server until the final step.
Maintenance
Support
Scaling
Failure modes
Retry-After honored; unbounded retries will amplify an incident.Ramp-up
How can I help you explore Laravel packages today?