PHPackages                             flexflux/laravel-elastic-email - 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. flexflux/laravel-elastic-email

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

flexflux/laravel-elastic-email
==============================

Package to send emails with attachements via an Elastic Email Mailer.

2.1.3(1y ago)1645.3k↑29.7%14[2 PRs](https://github.com/wouterdeberg/laravel-elastic-email/pulls)MITPHP

Since Mar 19Pushed 1y ago2 watchersCompare

[ Source](https://github.com/wouterdeberg/laravel-elastic-email)[ Packagist](https://packagist.org/packages/flexflux/laravel-elastic-email)[ RSS](/packages/flexflux-laravel-elastic-email/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (11)Used By (0)

FlexFlux - Laravel Elastic Email
================================

[](#flexflux---laravel-elastic-email)

Laravel Elastic Email is a wrapper for Elastic Email. You can send e-mails in your project just like you usually do with Laravel's native mailers, the package makes sure the e-mails are send via the Elastic Email API using your Elastic Email account.

Requires
--------

[](#requires)

V1 - Laravel version 8.12 or higher. V2 - Laravel version 9.0 or higher.

### Installation

[](#installation)

- Step 1: Install package via composer.

```
composer require flexflux/laravel-elastic-email
```

- Step 2: Add your account and API keys to your **.env file**.

```
ELASTIC_KEY=

```

- Step 3: Update **MAIL\_MAILER** with 'elastic\_email' in your **.env file**.

```
MAIL_MAILER=elastic_email

```

- Step 4: Add this new mailer to your **config/mail.php**\* file.

```
'mailers' => [
    ...
    'elastic_email' => [
        'transport' => 'elastic_email',
        'key' => env('ELASTIC_KEY')
    ],
    ...
],
```

- Step 5: In your **config/app.php** file go to your providers array and add the following package provider:

```
'providers' => [
    /*
     * Laravel Framework Service Providers...
     */
    ...
      \FlexFlux\LaravelElasticEmail\LaravelElasticEmailServiceProvider::class,
    ...
],
```

- Step 5b: If you're using V1: comment out Laravel's default MailServiceProvider in the **config/app.php**.

### Usage

[](#usage)

Read Laravels documentation on how to send E-mails with the Laravel Framework.

### Upgrade Guide from V1 to V2

[](#upgrade-guide-from-v1-to-v2)

Upgrade guide from V1 to V2:

- Turn the MailServiceProvider back on in your app.php config file.
- Remove your account ID environment variable.
- Update your elastic\_email mailer attribute in your mail.php configuration.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance47

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~165 days

Recently: every ~183 days

Total

10

Last Release

399d ago

Major Versions

1.0.2 → 2.0.02022-09-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/4ebfed81156fa6253277d64a6432f45c455f29ace57298c5001b2d436d0b24a9?d=identicon)[flux](/maintainers/flux)

---

Top Contributors

[![wouterdeberg](https://avatars.githubusercontent.com/u/19665914?v=4)](https://github.com/wouterdeberg "wouterdeberg (6 commits)")[![Ahmad-mehdizade](https://avatars.githubusercontent.com/u/30286641?v=4)](https://github.com/Ahmad-mehdizade "Ahmad-mehdizade (1 commits)")[![angusm73](https://avatars.githubusercontent.com/u/1692193?v=4)](https://github.com/angusm73 "angusm73 (1 commits)")[![yektaDG](https://avatars.githubusercontent.com/u/106602247?v=4)](https://github.com/yektaDG "yektaDG (1 commits)")

---

Tags

laravelemailelasticelastic emailflexflux

### Embed Badge

![Health badge](/badges/flexflux-laravel-elastic-email/health.svg)

```
[![Health](https://phpackages.com/badges/flexflux-laravel-elastic-email/health.svg)](https://phpackages.com/packages/flexflux-laravel-elastic-email)
```

###  Alternatives

[synergitech/laravel-postal

This library integrates Postal with the standard Laravel mail framework.

38107.1k](/packages/synergitech-laravel-postal)[rdanusha/laravel-elastic-email

Package for send emails with attachments via elastic email driver

1114.5k](/packages/rdanusha-laravel-elastic-email)[signaturetech/laravel-otp

A package to generate and manage otp

181.2k](/packages/signaturetech-laravel-otp)

PHPackages © 2026

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