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

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

maatify/mailer
==============

Official PHP library for maatify.dev Mailer handler, known by our team

5.0.1(10mo ago)02003proprietaryPHP

Since Jan 14Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/Maatify/Mailer)[ Packagist](https://packagist.org/packages/maatify/mailer)[ Docs](https://github.com/Maatify/)[ RSS](/packages/maatify-mailer/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (5)Versions (13)Used By (3)

[![Current version](https://camo.githubusercontent.com/00e0fab0823e694f66b9065947477a6e9c8a5069710773ab305ebad6b845c5ae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6161746966792f6d61696c6572)](https://packagist.org/packages/maatify/mailer)[![Packagist PHP Version Support](https://camo.githubusercontent.com/94a184d5526b010d112879d9e50e94c2253377f55884606c0445b8de53f22429/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d6161746966792f6d61696c6572)](https://packagist.org/packages/maatify/mailer)[![Monthly Downloads](https://camo.githubusercontent.com/8016eadf6825bab35305689511a3f687263c29d22024857224d654734b44b891/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6d6161746966792f6d61696c6572)](https://packagist.org/packages/maatify/mailer/stats)[![Total Downloads](https://camo.githubusercontent.com/e40db07905903514ada5df9627e0979b4ca66cc8b6c340f5c8905449c408d7a9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6161746966792f6d61696c6572)](https://packagist.org/packages/maatify/mailer/stats)[![Stars](https://camo.githubusercontent.com/e343dc82df4e75d7b668fe1cf09709969acb12d1fb087094474a5e5f66cd4081/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f6d6161746966792f6d61696c6572)](https://github.com/maatify/Mailer/stargazers)

Mailer
======

[](#mailer)

Official PHP library for maatify.dev Mailer handler, known by our team

Installation
------------

[](#installation)

```
composer require maatify/mailer

```

### Don't forget to create Class App\\Assist\\Maile

[](#dont-forget-to-create-class-appassistmaile)

```
namespace App\Assist\Mailer;

class StgMail
{
    public  const stg_mailer_url = 'YOUR STG SENDER';
}
```

### Create Env

[](#create-env)

#### EMAIL\_SITE\_URL // =&gt; ending with slash

[](#email_site_url----ending-with-slash)

#### EMAIL\_SITE\_LOGO

[](#email_site_logo)

#### EMAIL\_SITE\_NAME

[](#email_site_name)

#### SITE\_URL // =&gt; no slash at the end

[](#site_url---no-slash-at-the-end)

### Don't forget to create Class App\\Assist\\Config

[](#dont-forget-to-create-class-appassistconfig)

```
namespace App\Assist\Config;

class MailerConfig
{
    private static self $instance;

    public static function obj(string $language_short_code = ''): self
    {
        if (empty(self::$instance)) {
            self::$instance = new self($language_short_code);
        }

        return self::$instance;
    }

    public function __construct(string $language_short_code = '')
    {
        if (empty($language_short_code)) {
            $language_short_code = 'en';
        }

        if(in_array($language_short_code, ['en', 'ar'])){
            $this->language_short_code = $language_short_code;
        }
    }

    private string $language_short_code = 'en';

    public function subjectTempPass(): string
    {
        return match ($this->language_short_code) {
            'ar' => 'الرقم السري المؤقت الخاص بك',
            default => 'Your Temporary Password',
        };
    }

    public function subjectResetPass(): string
    {
        return match ($this->language_short_code) {
            'ar' => 'تغيير كلمة المرور',
            default => 'Reset Password',
        };
    }

    public function subjectConfirmMail(): string
    {
        return match ($this->language_short_code) {
            'ar' => 'تأكيد البريد الإلكتروني',
            default => 'Confirm Mail',
        };
    }

    public function subjectOTPCode(): string
    {
        return match ($this->language_short_code) {
            'ar' => 'الرقم السري المتغير',
            default => 'OTP Code',
        };
    }

    public function subjectConfirmCode(): string
    {
        return match ($this->language_short_code) {
            'ar' => 'رمز التحقق',
            default => 'Confirm Code',
        };
    }
}
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance53

Moderate activity, may be stable

Popularity12

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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 ~52 days

Recently: every ~69 days

Total

12

Last Release

327d ago

Major Versions

1.3.0001 → 2.0.02025-05-19

2.0.0 → 5.0.12025-08-10

PHP version history (2 changes)1.1.9PHP &gt;=8.0

1.3.0001PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a885a0810f2762586520ab284c9019aaf0b650b53cdf2a6c13ea10931bb7795?d=identicon)[Maatify](/maintainers/Maatify)

---

Top Contributors

[![megyptm](https://avatars.githubusercontent.com/u/33574895?v=4)](https://github.com/megyptm "megyptm (23 commits)")[![Maatify](https://avatars.githubusercontent.com/u/130119162?v=4)](https://github.com/Maatify "Maatify (4 commits)")

---

Tags

phpmailerhandler

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.1k](/packages/laravel-framework)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[kimai/kimai

Kimai - Time Tracking

4.8k9.0k1](/packages/kimai-kimai)[chameleon-system/chameleon-base

The Chameleon System core.

1028.6k5](/packages/chameleon-system-chameleon-base)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M574](/packages/shopware-core)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)

PHPackages © 2026

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