PHPackages                             purusottampanta/laravel-microsoft-graph-mailer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Mail &amp; Notifications](/categories/mail)
4. /
5. purusottampanta/laravel-microsoft-graph-mailer

ActiveLibrary[Mail &amp; Notifications](/categories/mail)

purusottampanta/laravel-microsoft-graph-mailer
==============================================

Laravel mail transport for Microsoft Graph API

v1.0.5(2mo ago)15MITPHPPHP ^8.1

Since Feb 18Pushed 2mo agoCompare

[ Source](https://github.com/purusottampanta/laravel-microsoft-graph-mailer)[ Packagist](https://packagist.org/packages/purusottampanta/laravel-microsoft-graph-mailer)[ Docs](https://github.com/purusottampanta/laravel-microsoft-graph-mailer)[ RSS](/packages/purusottampanta-laravel-microsoft-graph-mailer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (6)Versions (7)Used By (0)

Installation
------------

[](#installation)

composer require purusottampanta/laravel-microsoft-graph-mailer

Publish config
--------------

[](#publish-config)

php artisan vendor:publish --tag=microsoft-graph-config

Configuration
-------------

[](#configuration)

### Add/edit following in .env file

[](#addedit-following-in-env-file)

- MAIL\_MAILER=microsoft-graph
- MS\_TENANT\_ID=xxxxxxxxxxx
- MS\_CLIENT\_ID=xxxxxxxxxxx
- MS\_CLIENT\_SECRET=xxxxxxxxxxx
- MS\_FROM\_ADDRESS=xxxxxxxxxxxxx

Usage
-----

[](#usage)

Send Email using Microsoft graph The Laravel Way

Works with:

- Mailables
- Notifications
- Queues
- Cron
- Mail::fake()

No code changes required.

Register Graph as a mailer (this is the key)
--------------------------------------------

[](#register-graph-as-a-mailer-this-is-the-key)

config/mail.php 'mailers' =&gt; \[

```
'microsoft-graph' => [
        'transport' => 'microsoft-graph',
    ],
'smtp' => [
    'transport' => 'smtp',
    'host' => env('MAIL_HOST'),
    'port' => env('MAIL_PORT'),
    'username' => env('MAIL_USERNAME'),
    'password' => env('MAIL_PASSWORD'),
],

'ses' => [
    'transport' => 'ses',
],

```

\], ⚠️ This is the only integration point.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance82

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

6

Last Release

89d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aa50ec436259d961e8da6c3262975721d2e4176ae9aade4d68787509fb12d1de?d=identicon)[purusottampanta](/maintainers/purusottampanta)

---

Top Contributors

[![purusottampanta](https://avatars.githubusercontent.com/u/24473007?v=4)](https://github.com/purusottampanta "purusottampanta (14 commits)")

---

Tags

apilaravelmailmailermicrosoftgraph

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/purusottampanta-laravel-microsoft-graph-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/purusottampanta-laravel-microsoft-graph-mailer/health.svg)](https://phpackages.com/packages/purusottampanta-laravel-microsoft-graph-mailer)
```

###  Alternatives

[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[s-ichikawa/laravel-sendgrid-driver

This library adds a 'sendgrid' mail driver to Laravel.

4139.3M1](/packages/s-ichikawa-laravel-sendgrid-driver)[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. 🚀

14109.2k](/packages/hafael-azure-mailer-driver)[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[gr8shivam/laravel-sms-api

A modern, flexible Laravel package for integrating any SMS gateway with REST API support

10138.4k](/packages/gr8shivam-laravel-sms-api)[dotkernel/dot-mail

Dotkernel mail component based on symfony mailer

1140.0k5](/packages/dotkernel-dot-mail)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
