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
Azure Mailer Driver

Azure Mailer Driver Laravel Package

hafael/azure-mailer-driver

Send Laravel mail through Azure Communication Services with this drop-in mail transport driver. Configure your Azure connection string and sender address, then use Laravel's Mail facade as usual.

View on GitHub
Deep Wiki
Context7

Provides Azure Communication Service integration for Symfony Mailer / Laravel.

Frequently asked questions about Azure Mailer Driver
How do I install hafael/azure-mailer-driver in Laravel?
Install it with Composer using composer require hafael/azure-mailer-driver, then configure Laravel mail to use the acs transport with your Azure connection string and sender address. After that, send mail through Laravel's Mail facade as usual. Confirm the package's Composer constraints against your Laravel and PHP versions before rolling it out.
Which Laravel and PHP versions does hafael/azure-mailer-driver v8.0.0 support?
The provided evaluation does not list exact supported Laravel and PHP versions for v8.0.0; it notes that the major release modernizes dependencies and may shift framework and runtime requirements. Check the package's composer.json, README, and CI matrix before upgrading. Teams on older Laravel or PHP releases may need to upgrade first or stay on v7.x.
How do I configure Azure Communication Services credentials and sender address for Laravel mail?
Configure the acs transport in Laravel's mail configuration and supply your Azure Communication Services connection string plus the sender address. The package is designed as a drop-in transport, so application code should continue using Laravel's Mail facade. Use the README for the exact configuration keys and environment variable names, and keep credentials out of source control.
What is the difference between the acs and legacy azure transport names?
v8.0.0 adds the acs transport while preserving legacy azure configuration compatibility, which helps with incremental migrations from v7.x. New adopters should standardize on acs naming and use legacy azure naming only when transitional compatibility is required. Document the chosen transport name internally to avoid configuration drift across environments.
What breaking changes are in hafael/azure-mailer-driver v8.0.0 compared with v7.x?
The major version bump from v7.2.0 to v8.0.0 signals dependency modernization and possible changes to supported Laravel and PHP versions, so treat it as a breaking upgrade until verified. Review the changelog and composer constraints for config key renames, service provider changes, or transport name requirements. Test in staging, including legacy azure config compatibility if you rely on it, before production rollout.
Does hafael/azure-mailer-driver support attachments, templates, error handling, and retries?
The provided evaluation does not confirm support for attachments, templates, error handling, or retry behavior, so validate those features against your use cases before adopting. The package is a transport adapter for Azure ACS, so behavior will also depend on ACS capabilities and your Laravel mail configuration. Run application-level tests for delivery, exceptions, logging, and retries in a staging environment.
How should I test Azure mail delivery in a Laravel app before production?
Test in a non-production environment by configuring the acs transport, sending representative mail through Laravel's Mail facade, and verifying delivery plus error handling with Azure ACS. The package's PHPUnit and CI coverage improve confidence but do not replace application-level integration testing. Also check logging and retry behavior, and confirm ACS credentials and quotas before production rollout.
Is hafael/azure-mailer-driver a good alternative to Laravel's built-in mail transports?
It is a good fit when Azure Communication Services is your chosen email provider and you want to keep using Laravel's native Mail facade. It is a transport adapter, not a full email abstraction layer, so teams using SMTP or other providers should generally use Laravel's built-in transports or a provider-specific alternative. Evaluate it against your Azure ACS requirements, supported Laravel and PHP versions, and maintenance needs.
What production concerns should I check before using Azure Communication Services for Laravel email?
In production, Azure Communication Services quotas, rate limits, authentication, regional availability, and sending policies are likely to be the main constraints rather than package code. Validate ACS limits against your expected mail volume and monitor delivery failures and throttling. Keep rollback to v7.x available if dependency or runtime incompatibilities appear during rollout.
Is hafael/azure-mailer-driver actively maintained and what support is available?
The package is community-maintained, and the addition of CI and PHPUnit coverage is a positive maintenance signal. Confirm release cadence, issue responsiveness, and ongoing maintainer support before relying on it for critical mail. Support likely flows through GitHub issues and upstream Laravel and Azure documentation, so document your transport naming and credential setup internally.
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