PHPackages                             mmsgi-library/entra-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. mmsgi-library/entra-mailer

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

mmsgi-library/entra-mailer
==========================

Send email via Microsoft Entra OAuth2 in Laravel

v1.1.0(8mo ago)1445↓60%MITPHPPHP ^8.1

Since Jul 24Pushed 8mo agoCompare

[ Source](https://github.com/imamdwicaksono/entra-mailer)[ Packagist](https://packagist.org/packages/mmsgi-library/entra-mailer)[ RSS](/packages/mmsgi-library-entra-mailer/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (4)Used By (0)

Entra Mailer for Laravel
========================

[](#entra-mailer-for-laravel)

Send emails using Microsoft Entra ID (Azure AD / Microsoft 365) with OAuth2 authentication via Microsoft Graph API.

✨ Features
----------

[](#-features)

- OAuth2 (Client Credentials) Authentication
- Uses Microsoft Graph API to send email
- Laravel Service Provider and Config publish
- Supports Laravel Mailer driver integration (custom mailer)
- Easy to use with `Mail::to(...)->send(...)`

---

🛠 Installation
--------------

[](#-installation)

```
composer require mmsgi-library/entra-mailer
php artisan vendor:publish --tag=config

## ENV setting
MAIL_MAILER=entra
ENTRA_CLIENT_ID=your_client_id
ENTRA_CLIENT_SECRET=your_client_secret
ENTRA_TENANT_ID=your_tenant_id
ENTRA_FROM_ADDRESS=your_sender@domain.com
ENTRA_FROM_NAME=Your Name

## Configuration

Add this to your `config/mail.php`:

```php
'mailers' => [
    ...
    'entra' => [
        'transport' => 'entra',
    ],
],

## use
Mail::mailer('entra')->to('target@example.com')->send(new YourMailable());
```

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance58

Moderate activity, may be stable

Popularity18

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 ~38 days

Total

3

Last Release

269d ago

PHP version history (2 changes)v1.0.0PHP &gt;=8.2

v1.1.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mmsgi-library-entra-mailer/health.svg)

```
[![Health](https://phpackages.com/badges/mmsgi-library-entra-mailer/health.svg)](https://phpackages.com/packages/mmsgi-library-entra-mailer)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[illuminate/mail

The Illuminate Mail package.

5910.6M498](/packages/illuminate-mail)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6942.5M421](/packages/drupal-core-recommended)

PHPackages © 2026

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