PHPackages                             onix-systems-php/hyperf-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. onix-systems-php/hyperf-mailer

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

onix-systems-php/hyperf-mailer
==============================

An extension to send email

v1.3.0(2y ago)03.7k↓100%MITPHPPHP &gt;=8.1

Since Dec 26Pushed 2y ago3 watchersCompare

[ Source](https://github.com/onix-systems-php/hyperf-mailer)[ Packagist](https://packagist.org/packages/onix-systems-php/hyperf-mailer)[ RSS](/packages/onix-systems-php-hyperf-mailer/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (21)Versions (8)Used By (0)

Hyperf-mailer component
=======================

[](#hyperf-mailer-component)

Provides hyperf wrapper for the [symfony/mailer](https://symfony.com/doc/current/mailer.html) package.

You can use features like [High Availability](https://symfony.com/doc/current/mailer.html#high-availability) and [Load Balancing](https://symfony.com/doc/current/mailer.html#load-balancing).

Includes the following classes:

- Command:
    - GenMailCommand;
- Contract:
    - HasLocalePreference;
    - HasMailAddress;
    - ShouldQueue;
- Event:
    - MailMessageSending;
    - MailMessageSent.
- Service:
    - EmailService.
- Mail;
- Mailable.

Install:

```
composer require onix-systems-php/hyperf-mailer
```

Publish config:

```
php bin/hyperf.php vendor:publish onix-systems-php/hyperf-mailer
```

Code Example:

```
