hafael/azure-mailer-driver
最新稳定版本:v7.2.0
Composer 安装命令:
composer require hafael/azure-mailer-driver
包简介
Supercharge your Laravel or Symfony app with Microsoft Azure Communication Services (ACS)! Effortlessly add email, chat, voice, video, and telephony-over-IP for next-level communication. ????
关键字:
README 文档
README
✅ Simple implementation example of Symfony Azure Mailer Bridge for Laravel Framework.
✅ Bootable scripts for Laravel 9+
A use case of the symfony/azure-mailer component using bootable scripts in the Laravel framework to send email messages.
???? Requirements
- PHP 8.2 or higher
- symfony/azure-mailer
???? Available resources
| Resource | Status |
|---|---|
| Plain Text | ✅ |
| HTML | ✅ |
| Attachments | ✅ |
| Multiple recipients | ✅ |
| Auth HMAC-SHA256 | ✅ |
| Notifications | ✅ |
| Mkt Campaigns | ✅ |
| Markdown | ✅ |
???? Installation
First time using Azure ECS? Create your Azure account, if you don’t have one already.
-
Download Composer if not already installed
-
On your project directory run on the command line
composer require hafael/azure-mailer-driver -
Get your Azure CS Access Key and Service Endpoint.
???? Set mail config
Add entry to [root-of-laravel]/config/mail.php:
<?php ... 'mailers' => [ //...other drivers 'azure' => [ 'transport' => 'azure', 'resource_name' => env('AZURE_MAIL_RESOURCE_NAME'), 'endpoint' => env('AZURE_MAIL_ENDPOINT', 'https://my-acs-resource-name.communication.azure.com'), 'access_key' => env('AZURE_MAIL_KEY'), 'api_version' => env('AZURE_MAIL_API_VERSION', '2023-03-31'), 'disable_user_tracking' => env('AZURE_MAIL_DISABLE_TRACKING', false), ], ] ?>
Add entry to [root-of-laravel]/.env:
#...other entries
# Mail service entries...
MAIL_MAILER=azure
# Azure Service entries
AZURE_MAIL_RESOURCE_NAME=my-acs-resource-name
# AZURE_MAIL_ENDPOINT= #optional
AZURE_MAIL_KEY=Base64AzureAccessToken
# AZURE_MAIL_API_VERSION=2023-03-31 #optional
# AZURE_MAIL_DISABLE_TRACKING=false #optional
and just sent your notification mail messages!
???? Documentation
Build powerful, cloud-based communication and customer engagement experiences by adding voice, video, chat, sms, email, teams interoperability, call automation, and telephony to your apps.
Visit our Dev Site for further information regarding:
- Azure Communication Service Docs: English
???? Last change
** 0.3.0
- Change to Symfony Azure Bridge
- New entry in config and .env file: "resource_name" and "AZURE_MAIL_RESOURCE_NAME"
???? License
MIT license. Copyright (c) 2023 - Rafael For more information, see the LICENSE file.
hafael/azure-mailer-driver 适用场景与选型建议
hafael/azure-mailer-driver 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 79.54k 次下载、GitHub Stars 达 14, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「mailer」 「symfony」 「php」 「api」 「client」 「email」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 hafael/azure-mailer-driver 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hafael/azure-mailer-driver 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 hafael/azure-mailer-driver 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
The bundle for easy using json-rpc api on your project
Creates new sare mail transport for laravel applications
Bundle Symfony DaplosBundle
Mandrill Api Integration for Yii2
Alfabank REST API integration
Build and send emails.
统计信息
- 总下载量: 79.54k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 14
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 未知