PHPackages                             jsefton/endor-mail-sdk - 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. jsefton/endor-mail-sdk

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

jsefton/endor-mail-sdk
======================

Endor Mail SDK

09PHP

Since Jan 18Pushed 2y ago1 watchersCompare

[ Source](https://github.com/jsefton/endor-mail-sdk)[ Packagist](https://packagist.org/packages/jsefton/endor-mail-sdk)[ RSS](/packages/jsefton-endor-mail-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

ENDOR Mail SDK
==============

[](#endor-mail-sdk)

This package includes a PHP SDK wrapper that can be used to communicate with ENDOR Mail APIs.

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

[](#installation)

```
composer require jsefton/endor-mail-sdk
```

Usage
-----

[](#usage)

To send email to the API you will need to create a new instance of the EndorMail wrapper. This requires you to create the instance with your API KEY that you have been provided from ENDOR Mail Service.

Below is a quick full example usage within a Laravel application that will allow you to use the normal views for emails. You can pass in data to your view with the normal `->with()` method.

```
use Endor\MailSdk\EndorMail;
...

(new EndorMail(env('ENDOR_MAIL_KEY')))
    ->to(['info@endor.digital'])
    ->bcc(['bcc@endor.digital'])
    ->from('no-reply@endor.digital')
    ->subject('Email Subject Line')
    ->content(view('{laravel view path e.g. emails.template}')->render())
    ->send();
```

If you want to use this package in an application that is not Laravel then you can use `file_get_contents` to get the content of the email:

```
use Endor\MailSdk\EndorMail;
...
(new EndorMail(env('ENDOR_MAIL_KEY')))
    ->to(['info@endor.digital'])
    ->bcc(['bcc@endor.digital'])
    ->from('no-reply@endor.digital')
    ->subject('Email Subject Line')
    ->content(file_get_contents('{path to email template}'))
    ->send();
```

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity20

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/41b413127c7499a63bcb5c5ae903bd8961ba29300b6ccbda873e0c4bf06d0a02?d=identicon)[jsefton](/maintainers/jsefton)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/jsefton-endor-mail-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/jsefton-endor-mail-sdk/health.svg)](https://phpackages.com/packages/jsefton-endor-mail-sdk)
```

###  Alternatives

[maize-tech/laravel-email-domain-rule

Laravel Email Domain Rule

612.0k](/packages/maize-tech-laravel-email-domain-rule)[sarfraznawaz2005/noty

Laravel package to incorporate noty flash notifications into laravel.

324.5k](/packages/sarfraznawaz2005-noty)

PHPackages © 2026

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