PHPackages                             pendable/laravel-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. pendable/laravel-mailer

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

pendable/laravel-mailer
=======================

Laravel package for sending mail via the Pendable API

v1.0.2(2y ago)0656MITPHPPHP ^8.0

Since Aug 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/Pendable/laravel-mailer)[ Packagist](https://packagist.org/packages/pendable/laravel-mailer)[ RSS](/packages/pendable-laravel-mailer/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (7)Versions (6)Used By (0)

Pendable Laravel Mailer
=======================

[](#pendable-laravel-mailer)

Provides Pendable integration for Laravel. This package utilizes the [pendable-symfony](https://github.com/Pendable/symfony-mailer) mailer under the hood.

Pendable
--------

[](#pendable)

Pendable provides a wrapper service around Amazon SES adding capabilities to Parallelize your Email Sending, Prioritize your Emails, Schedule delivery in the future, Track Open, Click and other events, Active throttling based on your Bounces and Complaints, Filter Spam Domains, Maintain a healthy Contact list, Retrieve, Troubleshoot, and Resend messages, Timeline view of all customer communication.

More info on [pendable.io](https://pendable.io/documentation)

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

[](#installation)

Open a command console in your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require pendable/laravel-mailer
```

Then add your pendable api key to your .env file

```
# Pendable API Key from https://pendable.io
PENDABLE_API_KEY=your-api-key

# Use the pendable mailer
MAIL_MAILER=pendable
```

Usage
-----

[](#usage)

The Pendable Mailer provides a drop-in replacement for the Laravel Mailer. To send a message just simply use the `Mail` facade as you would normally do.

```
Mail::to('my-email@example.com')->send(new MyMailable);
```

Advanced Usage
--------------

[](#advanced-usage)

### Setting options on runtime

[](#setting-options-on-runtime)

```
// Laravel mailable instance
$mailable = new MyMailable;

// adding tags
$mailable->tag('my-tag-1');
$mailable->tag('my-tag-2');

// adding custom fields
$mailable->metadata('custom_1', 'one');
$mailable->metadata('custom_2', 'two');

$mailable->withSymfonyMessage(function(Email $message){

    // set the priority
    $message->getHeaders()->addTextHeader('priority', 60);

    // set the config identifier
    $message->getHeaders()->addTextHeader('config_identifier', 'my-config');

    // set the client email id (usually your system's unique identifier)
    $message->getHeaders()->addTextHeader('client_email_id', '1');

    // set the schedule send at (in ISO 8601 format)
    $message->getHeaders()->addTextHeader('schedule_send_at', '2023-06-25T22:37:26+05:30');
});

// send the mail
Mail::to('my-email@example.com')->send($mailable);
```

### Setting options on the mailable class itself

[](#setting-options-on-the-mailable-class-itself)

```
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Mail\Mailables\Headers;
use Illuminate\Queue\SerializesModels;
use Illuminate\Mail\Mailables\Envelope;

class MyMailable extends Mailable {

    use Queueable, SerializesModels;

    public function headers(): Headers
    {
        return new Headers(
            text: [
                // set the priority
                'priority' => '60',

                // set the config identifier
                'config_identifier' => 'my-config',

                // set the client email id (usually your system's unique identifier)
                'client_email_id' => '1',

                // set the schedule send at (in ISO 8601 format)
                'schedule_send_at' => '2023-06-25T22:37:26+05:30',
            ],
        );
    }

    /**
     * Get the message envelope.
     */
    public function envelope(): Envelope
    {
        return new Envelope(
            subject: 'My Mailer from Laravel + Pendable',

            // Setting tags
            tags: ['test', 'mailer', 'laravel'],

            // Setting custom fields
            metadata: [
                'custom_1' => 'one',
                'custom_2' => 'two',
            ],
        );
    }

    // ...
}

# To send the mail
Mail::to('my-email@example.com')->send(new MyMailable);
```

Resources
---------

[](#resources)

- [Report issues](https://github.com/pendable/laravel-mailer)
- [Pendable Documentation](https://pendable.io/documentation)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Total

5

Last Release

1026d ago

Major Versions

0.0.2 → v1.0.02023-09-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ca29d2620e29a2b37963943fe7e77aebf770fd4c31198706777c1ba9fee704b?d=identicon)[chris@pendable.io](/maintainers/chris@pendable.io)

---

Top Contributors

[![christopheredrian](https://avatars.githubusercontent.com/u/9636858?v=4)](https://github.com/christopheredrian "christopheredrian (10 commits)")

---

Tags

laravelmailseslaravelmailemailpendable

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pendable-laravel-mailer/health.svg)

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

###  Alternatives

[propaganistas/laravel-disposable-email

Disposable email validator

6023.0M7](/packages/propaganistas-laravel-disposable-email)[coconutcraig/laravel-postmark

Laravel package for sending mail via the Postmark API

2173.2M1](/packages/coconutcraig-laravel-postmark)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

254168.5k](/packages/erag-laravel-disposable-email)[illuminate/notifications

The Illuminate Notifications package.

513.1M1.1k](/packages/illuminate-notifications)

PHPackages © 2026

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