flexflux/laravel-elastic-email

Package to send emails with attachements via an Elastic Email Mailer.
73,501 16
Install
composer require flexflux/laravel-elastic-email
Latest Version:3.0.0
License:MIT
Last Updated:Jun 26, 2026
Links: GitHub  ·  Packagist
Maintainer: flux

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.

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=<Your API 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 bootstrap/providers.php file go to your providers array and add the following package provider:
<?php

use FlexFlux\LaravelElasticEmail\LaravelElasticEmailServiceProvider;

return [
    ...
    LaravelElasticEmailServiceProvider::class,
];

Usage

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

https://laravel.com/docs/13.x/mail

Related Packages

comyoo/laravel-elastic-email

Wrapper for Elastic Email HTTP api to send mails using laravel

441
rdanusha/laravel-elastic-email

Package for send emails with attachments via elastic email driver

14,512 11
dena-a/laravel-elastic-email

Wrapper for Elastic Email HTTP api to send mails using laravel

5,699 8
chocoholics/laravel-elastic-email

A Laravel wrapper for Elastic Email

7,407 8
yaofong/laravel-elastic-email

A Laravel wrapper for Elastic Email

36 1