PHPackages                             sainisch-sczepanski-streller/laravel-graph-api-mail-driver - 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. [Framework](/categories/framework)
4. /
5. sainisch-sczepanski-streller/laravel-graph-api-mail-driver

ActiveLibrary[Framework](/categories/framework)

sainisch-sczepanski-streller/laravel-graph-api-mail-driver
==========================================================

Send Emails via Microsoft Graph API from your Laravel 10 Project.

1.0.4(8mo ago)0877↓100%MITPHP

Since Mar 5Pushed 8mo ago1 watchersCompare

[ Source](https://github.com/sainisch-sczepanski-streller/laravel-graph-api-mail-driver)[ Packagist](https://packagist.org/packages/sainisch-sczepanski-streller/laravel-graph-api-mail-driver)[ Docs](https://github.com/sainisch-sczepanski-streller/laravel-graph-api-mail-driver)[ RSS](/packages/sainisch-sczepanski-streller-laravel-graph-api-mail-driver/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (6)Used By (0)

Laravel Graph API Mail Driver
=============================

[](#laravel-graph-api-mail-driver)

Send Emails via Microsoft Graph API from your Laravel 10 Project.

Description
-----------

[](#description)

Minimal Mail driver to send E-Mails via Microsoft Graph API in Laravel.

Don't forget the app permissions and policies in the Graph API. For further info see: [Microsoft Docs](https://learn.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http)

Getting started
---------------

[](#getting-started)

### install

[](#install)

```
composer require sainisch-sczepanski-streller/laravel-graph-api-mail-driver
```

#### .env

[](#env)

```
MAIL_FROM_ADDRESS=
MAIL_MAILER=microsoft-graph-api
MAIL_MS_GRAPH_CLIENT_ID=
MAIL_MS_GRAPH_CLIENT_SECRET=
MAIL_MS_GRAPH_TENANT_ID=
MAIL_MS_GRAPH_SAVE_TO_SENT_ITEMS=
```

#### config/mail.php

[](#configmailphp)

```
'mailers' => [

        'microsoft-graph-api' => [
            'transport' => 'microsoft-graph-api',
            'client_id' => env('MAIL_MS_GRAPH_CLIENT_ID'),
            'client_secret' => env('MAIL_MS_GRAPH_CLIENT_SECRET'),
            'tenant_id' => env('MAIL_MS_GRAPH_TENANT_ID'),
            'saveToSentItems' => env('MAIL_MS_GRAPH_SAVE_TO_SENT_ITEMS', true),
        ],
...
```

Usage
-----

[](#usage)

Use it like any other Laravel mail driver

```
 Mail::to([])->send();
```

Compatibility
-------------

[](#compatibility)

Built and tested in Laravel 10

Contributors
------------

[](#contributors)

- [Steven Streller](https://github.com/StevenStreller)
- [Adrian Sczepanski](https://github.com/Skysagit)
- [Hanno Sainisch](https://github.com/HannoSainisch)

License
-------

[](#license)

The MIT License (MIT). Please see license file for more information.

###  Health Score

35

—

LowBetter than 81% of packages

Maintenance61

Regular maintenance activity

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~125 days

Total

5

Last Release

249d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/59f9bb9e45057d493f9d601e8aa47eea572eda3e07577619ad3d33f86ae48cc8?d=identicon)[sainisch-sczepanski-streller](/maintainers/sainisch-sczepanski-streller)

---

Top Contributors

[![hanno-sainisch](https://avatars.githubusercontent.com/u/231685680?v=4)](https://github.com/hanno-sainisch "hanno-sainisch (1 commits)")[![sainisch-sczepanski-streller](https://avatars.githubusercontent.com/u/161813440?v=4)](https://github.com/sainisch-sczepanski-streller "sainisch-sczepanski-streller (1 commits)")

---

Tags

frameworklaravelemailmicrosoftgraph

### Embed Badge

![Health badge](/badges/sainisch-sczepanski-streller-laravel-graph-api-mail-driver/health.svg)

```
[![Health](https://phpackages.com/badges/sainisch-sczepanski-streller-laravel-graph-api-mail-driver/health.svg)](https://phpackages.com/packages/sainisch-sczepanski-streller-laravel-graph-api-mail-driver)
```

###  Alternatives

[hemp/presenter

Easy Model Presenters in Laravel

247582.7k1](/packages/hemp-presenter)[rahulalam31/laravel-abuse-ip

Block ip address of all spammer's around the world.

27330.5k](/packages/rahulalam31-laravel-abuse-ip)

PHPackages © 2026

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