Download the PHP package maatify/mailer without Composer

On this page you can find all versions of the php package maatify/mailer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
maatify/mailer
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package mailer

# Mailer Maatify.dev [![Status](https://img.shields.io/badge/Status-Stable-blue)](CHANGELOG.md) [![Version](https://img.shields.io/badge/Version-6.0.0-blue)](https://packagist.org/packages/maatify/mailer) [![PHP](https://img.shields.io/badge/PHP-8.4.27%2B%20%7C%208.5.12%2B%20(%3C8.6)-8892BF)](composer.json) [![License](https://img.shields.io/badge/License-Proprietary-green)](LICENSE) [![PHPStan](https://img.shields.io/badge/PHPStan-Level%20Max-brightgreen)](#quality-status) [![Packagist](https://img.shields.io/badge/Packagist-maatify%2Fmailer-blue)](https://packagist.org/packages/maatify/mailer) [![Monthly Downloads](https://img.shields.io/packagist/dm/maatify/mailer)](https://packagist.org/packages/maatify/mailer/stats) [![Total Downloads](https://img.shields.io/packagist/dt/maatify/mailer)](https://packagist.org/packages/maatify/mailer/stats) [![Maatify Ecosystem](https://img.shields.io/badge/Maatify-Ecosystem-blueviolet)](https://github.com/Maatify) [![Usage Guide](https://img.shields.io/badge/Docs-Usage%20Guide-blue)](docs/guides/USAGE_GUIDE.md) [![Examples](https://img.shields.io/badge/Docs-Examples-blue)](examples/) [![Package Reference](https://img.shields.io/badge/Docs-Package%20Reference-blue)](MAILER_PACKAGE_REFERENCE.md) [![Changelog](https://img.shields.io/badge/Docs-Changelog-blue)](CHANGELOG.md) [![Security Policy](https://img.shields.io/badge/Docs-Security-blue)](SECURITY.md) [![Contributing](https://img.shields.io/badge/Docs-Contributing-blue)](CONTRIBUTING.md) PHP library that renders Twig e-mail templates supplied by your application and sends them through SMTP with PHPMailer, reporting whether the SMTP server accepted each message.

Key Features

Requirements

The authoritative constraints are in composer.json.

Installation

With the constraint ^5.0 an existing project stays on 5.x, so to move an existing project to 6.x use composer require 'maatify/mailer:^6.0' --with-all-dependencies. 6.0.0 uses new namespaces and sends through SMTP only; see Upgrade notes.

Quick Usage

The Usage Guide walks through each call as Input → Public Call → Result → Boundary.

Public Runtime API

Type Role
Maatify\Mailer\Service\Mailer Entry point: the constructor, obj(), reInitiateSender(), twigLoader() and the send methods ConfirmCode(), ConfirmUserLink(), ConfirmCustomerLink(), ConfirmDashboardLink(), ResetPassDashboardLink(), TempPassword(), Message() and AdminMessage().
Maatify\Mailer\Contract\SubjectProviderInterface Lets your application choose subject lines.
Maatify\Mailer\Enum\MailSubjectEnum The messages whose subject the library chooses, with their default subjects.
Maatify\Mailer\Adapter\MailerSender Abstract SMTP sender that Mailer extends; its protected members are the documented extension point.

The complete inventory, signatures and guarantees are in the Package Reference.

Critical Runtime Behavior

Exception and Error Propagation

Where a failure surfaces depends on where it occurs. A missing setting that is read before sending (for example SMTP_REPLY_MAIL in the constructor, SITE_URL in the link methods, SMTP_FROM_* in AdminMessage()), a missing template directory and an exception thrown by your subject provider reach your code. Template errors and problems with the SMTP settings or connection while sending are caught, logged without recipient data and returned as false. The Package Reference has the full table.

Security and Trust Boundaries

Examples

Runnable examples are in examples/: a confirmation code, custom subject lines, and a contact form, with a working template set. CI executes them against a local SMTP stand-in.

Documentation

Quality Status

Verified in CI on PHP 8.4 and 8.5, and on the lowest supported dependencies:

These checks prove the implemented contract against a deterministic local SMTP server. They do not prove the behavior of a particular live mail provider.

Development and Testing

scripts/ci/verify.sh runs the same checks as CI. See CONTRIBUTING.md.

Upgrade Notes

6.0.0 moves the classes to the canonical namespaces, sends through SMTP only, and replaces the application class App\Assist\Config\MailerConfig with an injected subject provider:

The complete upgrade steps are in the Changelog.

License

Proprietary. See LICENSE.

Author

Engineered by Mohamed Abdulalim (@megyptm)
Backend Lead & Technical Architect
https://www.maatify.dev


[Built with ❤️ by Maatify.dev — Unified Ecosystem for Modern PHP Libraries](https://www.maatify.dev)

All versions of mailer with dependencies

PHP Build Version
Package Version
Requires ext-openssl Version *
maatify/logger Version ^5.0 || ^7.0
php Version >=8.4.27 <8.5.0 || >=8.5.12 <8.6.0
phpmailer/phpmailer Version ^6.10
twig/twig Version ^3.27
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package maatify/mailer contains the following files

Loading the files please wait ...