PHPackages                             lotfio/mail-templator - 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. lotfio/mail-templator

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

lotfio/mail-templator
=====================

mail templator

0.2.0(4y ago)127MITPHPPHP &gt;=8

Since Nov 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/lotfio/mail-templator)[ Packagist](https://packagist.org/packages/lotfio/mail-templator)[ RSS](/packages/lotfio-mail-templator/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (4)Versions (5)Used By (0)

 [![mail Preview](https://github.com/lotfio/mail-templator/raw/master/docs/logo.jpg)](https://github.com/lotfio/mail-templator/blob/master/docs/logo.jpg)

 [![License](https://camo.githubusercontent.com/5e92e10c411f69daf42c727b2452d9c25b6a068446de98ce0527bebbcf10b46f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d663163343066)](https://camo.githubusercontent.com/5e92e10c411f69daf42c727b2452d9c25b6a068446de98ce0527bebbcf10b46f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d663163343066) [![PHP version](https://camo.githubusercontent.com/17df82f337e69324172851924d64fa1524a0ed094fc16ed8d6988cc56d74e781/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382d3334393864622e737667)](https://camo.githubusercontent.com/17df82f337e69324172851924d64fa1524a0ed094fc16ed8d6988cc56d74e781/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382d3334393864622e737667) [![Coverage](https://camo.githubusercontent.com/fb9456282e7e8b9a08dc89756bdc23dbfd90ec709e617319dd15bc28fea6a799/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39352532352d3237616536302e737667)](https://camo.githubusercontent.com/fb9456282e7e8b9a08dc89756bdc23dbfd90ec709e617319dd15bc28fea6a799/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f7665726167652d39352532352d3237616536302e737667) [![Downloads](https://camo.githubusercontent.com/e7ccb5cd30a0fb9c7e0c33e23e70a847a41afa872d067013832103a32b736e14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f6164732d316b2d6537346333632e737667)](https://camo.githubusercontent.com/e7ccb5cd30a0fb9c7e0c33e23e70a847a41afa872d067013832103a32b736e14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f776e6c6f6164732d316b2d6537346333632e737667)

 **MailTemplator (Easy templates for your emails).**

🔥 Introduction :
----------------

[](#-introduction-)

MailTemplator is lightweight PHP package that helps you create, edit and customize email templates.

📌 Requirements :
================

[](#pushpin-requirements-)

- PHP &gt;= 8
- PHPUnit &gt;= 9 (for testing purpose)

🚀 Installation &amp; Use :
==========================

[](#rocket-installation--use-)

```
    composer require lotfio/mail-templator
```

⚡ Testing :
===========

[](#zap-testing-)

```
    composer test-unit
    composer test-integration
```

☀️ Static analysis :
====================

[](#sunny-static-analysis-)

```
    composer psalm
```

✏️ Usage :
==========

[](#pencil2-usage-)

- Create your custom Mail Template in your preferred folder withing your project.
- Mail template class name should ends with Template (MyCustomTemplate, MySecondTemplate).

```
