PHPackages                             lazervel/mailsender - 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. lazervel/mailsender

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

lazervel/mailsender
===================

Modern PHP mailer built on PHPMailer for easy integration.

v1.0.0(6mo ago)212MITPHPPHP &gt;=5.5.0CI passing

Since Oct 24Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/lazervel/mailsender)[ Packagist](https://packagist.org/packages/lazervel/mailsender)[ GitHub Sponsors](https://github.com/indianmodassir)[ RSS](/packages/lazervel-mailsender/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Lazervel MailSender
===================

[](#lazervel-mailsender)

**Lightweight PHP library for effortless email sending.**
Built on top of [PHPMailer](https://github.com/PHPMailer/PHPMailer), it provides an easy and elegant way to send HTML emails with inline CSS, embedded images, and attachments.

---

🚀 Features
----------

[](#-features)

- Simple and clean wrapper for PHPMailer
- Inline **CSS** support (`` auto inlines to ``)
- Embedded **local images** automatically converted to CID
- File and base64 **attachments** support
- Handles **multiple recipients** with one call
- Easy integration with environment variables (`.env` or `$_ENV`)

---

📥 Installation
--------------

[](#-installation)

Install via **Composer**:

```
composer require lazervel/mailsender
```

Or manually add to your `composer.json`:

```
{
  "require": {
    "lazervel/mailsender": "^1.0"
  }
}
```

---

🧩 Basic Usage
-------------

[](#-basic-usage)

```
