PHPackages                             escolalms/mailerlite - 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. escolalms/mailerlite

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

escolalms/mailerlite
====================

Escola LMS MailerLite integration.

0.4.2(3y ago)19.5k↓40%1MITPHPPHP &gt;=7.4

Since Feb 9Pushed 2y ago2 watchersCompare

[ Source](https://github.com/EscolaLMS/MailerLite)[ Packagist](https://packagist.org/packages/escolalms/mailerlite)[ RSS](/packages/escolalms-mailerlite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (10)Versions (10)Used By (1)

MailerLite
==========

[](#mailerlite)

[![codecov](https://camo.githubusercontent.com/bc5a28b7a56a18ae30e1bb41a870fc3c7e11a745b780af6dda385b054c0bbddd/68747470733a2f2f636f6465636f762e696f2f67682f4573636f6c614c4d532f4d61696c65724c6974652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4e52414e34523841475a)](https://codecov.io/gh/EscolaLMS/MailerLite)[![phpunit](https://github.com/EscolaLMS/MailerLite/actions/workflows/test.yml/badge.svg)](https://github.com/EscolaLMS/MailerLite/actions/workflows/test.yml)[![downloads](https://camo.githubusercontent.com/3541277dab62616ad16aa65628c87204541796cc71fc03f31b169aa2e1dba815/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6573636f6c616c6d732f6d61696c65726c697465)](https://packagist.org/packages/escolalms/mailerlite)[![downloads](https://camo.githubusercontent.com/e94f925464e82247ccb744ccb7e7873076e1a25e17b3d01f18cbf97dd2b7dc6e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6573636f6c616c6d732f6d61696c65726c697465)](https://packagist.org/packages/escolalms/mailerlite)[![downloads](https://camo.githubusercontent.com/6ecab7a4cb4d40034ce40e5f8bed3193d0e4d2b3c820f46a6afed4f250fcb580/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6573636f6c616c6d732f6d61696c65726c697465)](https://packagist.org/packages/escolalms/mailerlite)[![Maintainability](https://camo.githubusercontent.com/605f0c2b73315a0c3d8d5b8b9693fd60a53b0373a57dadc196076e9c4f6596cc/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30303732356336656134363166636661323735342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/EscolaLMS/MailerLite/maintainability)[![Test Coverage](https://camo.githubusercontent.com/623bd2f0db85681d33ff9f747f76b0290a5e7b35f377502853e15f3b2b35a1dd/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f30303732356336656134363166636661323735342f746573745f636f766572616765)](https://codeclimate.com/github/EscolaLMS/MailerLite/test_coverage)

What does it do
---------------

[](#what-does-it-do)

This package is used for integration with [MailerLite](https://www.mailerlite.com/) after dispatching events.

Installing
----------

[](#installing)

- `composer require escolalms/mailerlite`

Example
-------

[](#example)

You can set the package status and api key using the Facade

```
Config::set('escolalms_mailer_lite.package_status', PackageStatusEnum::ENABLED);
Config::set('escolalms_mailer_lite.api_key', '1234);
```

or [Settings package](https://github.com/EscolaLMS/settings)

```
$this->actingAs($this->user, 'api')->postJson(
    '/api/admin/config',
    [
        'config' => [
            [
                'key' => 'escolalms_mailer_lite.package_status',
                'value' => PackageStatusEnum::ENABLED,
            ],
            [
                'key' => 'escolalms_mailer_lite.api_key',
                'value' => '1234',
            ],
        ]
    ]
);
```

Group names are also configurable.

```
$this->actingAs($this->user, 'api')->postJson(
    '/api/admin/config',
    [
        'config' => [
            [
                'key' => 'escolalms_mailer_lite.group_registered_group',
                'value' => 'registered users',
            ],
            [
                'key' => 'escolalms_mailer_lite.group_order_paid',
                'value' => 'order paid',
            ],
            [
                'key' => 'escolalms_mailer_lite.group_left_cart',
                'value' => 'left cart',
            ],
        ]
    ]
);
```

Tests
-----

[](#tests)

Run `./vendor/bin/phpunit` to run tests.

Test details [![codecov](https://camo.githubusercontent.com/bc5a28b7a56a18ae30e1bb41a870fc3c7e11a745b780af6dda385b054c0bbddd/68747470733a2f2f636f6465636f762e696f2f67682f4573636f6c614c4d532f4d61696c65724c6974652f6272616e63682f6d61696e2f67726170682f62616467652e7376673f746f6b656e3d4e52414e34523841475a)](https://codecov.io/gh/EscolaLMS/MailerLite)[![phpunit](https://github.com/EscolaLMS/MailerLite/actions/workflows/test.yml/badge.svg)](https://github.com/EscolaLMS/MailerLite/actions/workflows/test.yml)

Listeners
---------

[](#listeners)

Handling events

- `EscolaLms\Auth\Events\AccountConfirmed` =&gt; add to group of registered users (`escolalms_mailer_lite.group_registered_group`)
- `EscolaLms\Cart\Events\ProductBought` =&gt; add to group of users with paid orders (`escolalms_mailer_lite.group_order_paid`)
- `EscolaLms\Auth\Events\AccountBlocked` =&gt; remove from all groups
- `EscolaLms\Cart\Events\AbandonedCartEvent` =&gt; add to the group of users with abandoned carts (`escolalms_mailer_lite.group_left_cart`)
- `EscolaLms\Cart\Events\OrderCreated` =&gt; remove from the group of users with abandoned carts (`escolalms_mailer_lite.group_left_cart`)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~29 days

Recently: every ~42 days

Total

9

Last Release

1329d ago

### Community

Maintainers

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

---

Top Contributors

[![mako321](https://avatars.githubusercontent.com/u/59456825?v=4)](https://github.com/mako321 "mako321 (12 commits)")[![KrzysztofDziedziechEscolasoft](https://avatars.githubusercontent.com/u/96292232?v=4)](https://github.com/KrzysztofDziedziechEscolasoft "KrzysztofDziedziechEscolasoft (2 commits)")[![qunabu](https://avatars.githubusercontent.com/u/214608?v=4)](https://github.com/qunabu "qunabu (1 commits)")

---

Tags

laravelrest-api

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/escolalms-mailerlite/health.svg)

```
[![Health](https://phpackages.com/badges/escolalms-mailerlite/health.svg)](https://phpackages.com/packages/escolalms-mailerlite)
```

###  Alternatives

[vemcogroup/laravel-sparkpost-driver

SparkPost driver to use with Laravel 6.x|7.x|8.x|9.x|10.x

421.7M1](/packages/vemcogroup-laravel-sparkpost-driver)[spatie/mailcoach

Self-host Mailcoach

4007.0k](/packages/spatie-mailcoach)[guanguans/notify

Push notification SDK(AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

682104.9k7](/packages/guanguans-notify)[tzsk/sms

A robust and unified SMS gateway integration package for Laravel, supporting multiple providers.

320244.3k6](/packages/tzsk-sms)[mailersend/laravel-driver

MailerSend Laravel Driver

87732.8k4](/packages/mailersend-laravel-driver)[erag/laravel-disposable-email

A Laravel package to detect and block disposable email addresses.

226102.4k](/packages/erag-laravel-disposable-email)

PHPackages © 2026

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