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

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

lion/mailer
===========

Library created to facilitate sending email based on different services

v8.0.0(4mo ago)13.2k1MITPHPPHP &gt;=8.5CI passing

Since Mar 8Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/Lion-Packages/mailer)[ Packagist](https://packagist.org/packages/lion/mailer)[ Docs](https://dev.lion-packages.com)[ RSS](/packages/lion-mailer/feed)WikiDiscussions 8.x Synced 1mo ago

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

[![presentation-lion-packages](https://private-user-images.githubusercontent.com/56183278/529254624-243ac523-9486-4213-8b48-dfe2bb8a557f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ1MTgyMjEsIm5iZiI6MTc3NDUxNzkyMSwicGF0aCI6Ii81NjE4MzI3OC81MjkyNTQ2MjQtMjQzYWM1MjMtOTQ4Ni00MjEzLThiNDgtZGZlMmJiOGE1NTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI2VDA5Mzg0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1YTBiMDdjNGExNmIzODIzYjI3NjBkOWRmZTU4MmEyYTViZGFiNWM3Yjg4ZmMxZWViNTU4NmEzM2I0ODQ3YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PwwDpt_lWT8n1IGd5T0C3CVtho1pcclmflZPw4WUK28)](https://private-user-images.githubusercontent.com/56183278/529254624-243ac523-9486-4213-8b48-dfe2bb8a557f.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ1MTgyMjEsIm5iZiI6MTc3NDUxNzkyMSwicGF0aCI6Ii81NjE4MzI3OC81MjkyNTQ2MjQtMjQzYWM1MjMtOTQ4Ni00MjEzLThiNDgtZGZlMmJiOGE1NTdmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMjYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzI2VDA5Mzg0MVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1YTBiMDdjNGExNmIzODIzYjI3NjBkOWRmZTU4MmEyYTViZGFiNWM3Yjg4ZmMxZWViNTU4NmEzM2I0ODQ3YjYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.PwwDpt_lWT8n1IGd5T0C3CVtho1pcclmflZPw4WUK28) [ ![Latest Stable Version](https://camo.githubusercontent.com/3c162ffdc7fdef525e83e36342761169087743cf414eff98b3c1fdd6e0041bac/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6d61696c65722f76) ](https://packagist.org/packages/lion/mailer) [ ![Total Downloads](https://camo.githubusercontent.com/e429086db70acf19eda0173b8113dfb7c661a89e918e9cdef917651854fe8fb7/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6d61696c65722f646f776e6c6f616473) ](https://packagist.org/packages/lion/mailer) [ ![License](https://camo.githubusercontent.com/272302b0f3a8f6fc7f4c1c61bc49bb0a82fa5426210c344bab4ed04f989897f5/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6d61696c65722f6c6963656e7365) ](https://github.com/lion-packages/mailer/blob/main/LICENSE) [ ![PHP Version Require](https://camo.githubusercontent.com/0cedccd45535a90d5d5def009656dab5a50bc2c8bd08d704378135d32ebe81b0/68747470733a2f2f706f7365722e707567782e6f72672f6c696f6e2f6d61696c65722f726571756972652f706870) ](https://www.php.net/)

🚀 **Lion-Mailer** Library created to facilitate sending email based on different services.

---

📖 Features
----------

[](#-features)

✔️ Send basic emails with custom headers.
✔️ Send emails with dynamic files and images.
✔️ Allows you to choose an email's priority.
✔️ Allows adding multiple recipients, CC accounts, and CCO copies in the email.

---

📦 Installation
--------------

[](#-installation)

Install the mailer using **Composer**:

```
composer require lion/mailer
```

📝 License
---------

[](#-license)

The **mailer** is open-sourced software licensed under the [MIT License](https://github.com/lion-packages/mailer/blob/main/LICENSE).

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance80

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 79.1% 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 ~26 days

Total

57

Last Release

78d ago

Major Versions

3.x-dev → v4.0.02022-12-06

4.x-dev → v5.0.02023-05-31

v5.1.0 → v6.0.02023-12-16

6.x-dev → v7.0.02024-11-30

7.x-dev → v8.0.02025-12-22

PHP version history (6 changes)v1.2.4PHP &gt;=8.0.9

v1.6PHP &gt;=8.1

v6.1.0PHP &gt;=8.2

v6.2.2PHP &gt;=8.3

v7.2.0PHP &gt;=8.4

v8.0.0PHP &gt;=8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1419758fcb0259274d35f6d2cbfb5a60694baa74e99437d32dfec9a0d5c10d65?d=identicon)[lion-packages](/maintainers/lion-packages)

---

Top Contributors

[![Sleon4](https://avatars.githubusercontent.com/u/56183278?v=4)](https://github.com/Sleon4 "Sleon4 (163 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (18 commits)")[![jerezjustin](https://avatars.githubusercontent.com/u/132396080?v=4)](https://github.com/jerezjustin "jerezjustin (8 commits)")[![GabrielPalac](https://avatars.githubusercontent.com/u/162063476?v=4)](https://github.com/GabrielPalac "GabrielPalac (7 commits)")[![LeinadAlberto](https://avatars.githubusercontent.com/u/127895160?v=4)](https://github.com/LeinadAlberto "LeinadAlberto (5 commits)")[![mcesmeralda](https://avatars.githubusercontent.com/u/96641807?v=4)](https://github.com/mcesmeralda "mcesmeralda (2 commits)")[![MMarioLP](https://avatars.githubusercontent.com/u/105904645?v=4)](https://github.com/MMarioLP "MMarioLP (2 commits)")[![Santiago1010](https://avatars.githubusercontent.com/u/48629173?v=4)](https://github.com/Santiago1010 "Santiago1010 (1 commits)")

---

Tags

emailphpphpmailersymfony-mailermailerlionlion-mailer

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nette/mail

📧 Nette Mail: A handy library for creating and sending emails in PHP.

5389.8M246](/packages/nette-mail)[fedeisas/laravel-mail-css-inliner

Inline the CSS of your HTML emails using Laravel

5974.6M3](/packages/fedeisas-laravel-mail-css-inliner)[aplus/email

Aplus Framework Email Library

2461.6M3](/packages/aplus-email)[sylius/mailer-bundle

Mailers and e-mail template management for Symfony projects.

728.1M77](/packages/sylius-mailer-bundle)[voku/bounce-mail-handler

Bounce Mail Handler

49230.9k2](/packages/voku-bounce-mail-handler)[nickcv/yii2-mandrill

Mandrill Api Integration for Yii2

29554.2k2](/packages/nickcv-yii2-mandrill)

PHPackages © 2026

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