naf / mail
NAF Mail Plugin for quick email communication.
Requires
- php: >=8.3
- ext-fileinfo: *
- ext-mbstring: *
- naf/framework: ^0.2
Requires (Dev)
- phpunit/php-code-coverage: ^12.1
- phpunit/phpunit: ^12.1
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-14 05:40:26 UTC
README
naf/mail
A lightweight, extensible mailer system for NAF – with full transport abstraction and attachment support.
This plugin provides a clean interface for sending emails in your NAF application. It includes a default MailTransport that uses PHP’s built-in mail() function, but can easily be swapped for SMTP, API-based services, or other custom transports.
🧩 Part of the official NAF plugin collection. Install it if you need flexible, framework-integrated email handling.
Documentation
Everything about this package — what it does, how it is configured and what it needs — lives in the NAF documentation. Not sure which packages you need? Start here.
Install
composer require naf/mail
License
MIT. Part of NAF.
