Download the PHP package lazervel/mailsender without Composer
On this page you can find all versions of the php package lazervel/mailsender. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lazervel/mailsender
More information about lazervel/mailsender
Files in lazervel/mailsender
Package mailsender
Short Description Modern PHP mailer built on PHPMailer for easy integration.
License MIT
Informations about the package mailsender
Lazervel MailSender
Lightweight PHP library for effortless email sending.
Built on top of PHPMailer, it provides an easy and elegant way to send HTML emails with inline CSS, embedded images, and attachments.
๐ Features
- Simple and clean wrapper for PHPMailer
- Inline CSS support (
<link rel="stylesheet">auto inlines to<style>) - Embedded local images automatically converted to CID
- File and base64 attachments support
- Handles multiple recipients with one call
- Easy integration with environment variables (
.envor$_ENV)
๐ฅ Installation
Install via Composer:
Or manually add to your composer.json:
๐งฉ Basic Usage
๐ง Multiple Recipients Example
๐๏ธ Attachments
From File Path:
From Uploaded File ($_FILES):
From Base64 or URL:
๐จ Inline CSS & Images
If your HTML contains linked CSS or image paths:
They will automatically be converted into inline <style> blocks and embedded CID images in the final email.
โ๏ธ Environment Variables (Optional)
You can define these in your .env file or system environment:
๐งฑ Directory Structure
๐งช Testing
๐ License
This project is open-sourced under the MIT License.
Feel free to use, modify, and distribute with attribution.
โค๏ธ Author
Afsara
Developer & Founder โ Lazervel
GitHub โข Email